rpms/numactl/F-8 numactl-1.0.2-alpha-syscall.patch, NONE, 1.1 numactl.spec, 1.45, 1.46
Neil Horman (nhorman)
fedora-extras-commits at redhat.com
Fri Mar 14 11:45:24 UTC 2008
Author: nhorman
Update of /cvs/extras/rpms/numactl/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10709
Modified Files:
numactl.spec
Added Files:
numactl-1.0.2-alpha-syscall.patch
Log Message:
Resolves: bz 396361
numactl-1.0.2-alpha-syscall.patch:
--- NEW FILE numactl-1.0.2-alpha-syscall.patch ---
diff -up numactl-1.0.2/syscall.c.orig numactl-1.0.2/syscall.c
--- numactl-1.0.2/syscall.c.orig 2008-03-14 07:28:58.000000000 -0400
+++ numactl-1.0.2/syscall.c 2008-03-14 07:29:31.000000000 -0400
@@ -62,6 +62,13 @@
#define __NR_set_mempolicy 261
#define __NR_migrate_pages 258
+#elif defined(__alpha__)
+
+#define __NR_mbind 429
+#define __NR_get_mempolicy 430
+#define __NR_set_mempolicy 431
+#define __NR_migrate_pages 449
+
#elif !defined(DEPS_RUN)
#error "Add syscalls for your architecture or update kernel headers"
#endif
Index: numactl.spec
===================================================================
RCS file: /cvs/extras/rpms/numactl/F-8/numactl.spec,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- numactl.spec 7 Aug 2007 20:36:56 -0000 1.45
+++ numactl.spec 14 Mar 2008 11:44:48 -0000 1.46
@@ -1,7 +1,7 @@
Name: numactl
Summary: Library for tuning for Non Uniform Memory Access machines
Version: 0.9.8
-Release: 4%{dist}
+Release: 5%{dist}
License: LGPLv2/GPLv2
Group: System Environment/Base
URL: ftp://ftp.suse.com/pub/people/ak/numa/
@@ -12,6 +12,7 @@
Patch1: numactl-node-cpubind.patch
Patch2: numactl-parse_bitmap_nodebind.patch
+Patch3: numactl-1.0.2-alpha-syscall.patch
%description
Simple NUMA policy support. It consists of a numactl program to run
@@ -30,6 +31,7 @@
%setup -q
%patch1 -p1
%patch2 -p2
+%patch3 -p1
%build
make CFLAGS="$RPM_OPT_FLAGS -I. -fPIC"
@@ -71,6 +73,9 @@
%{_mandir}/man3/*.3*
%changelog
+* Fri Mar 14 2008 Neil Horman <nhorman at redhat.com> - 0.9.8-5
+- Adding alpha syscalls (bz 396361)
+
* Tue Aug 07 2007 Neil Horman <nhorman at redhat.com> - 0.9.8-4
- Fixing some remaining merge review issues (bz 226207)
More information about the fedora-extras-commits
mailing list