rpms/numactl/devel numactl-1.0.2-alpha-syscall.patch, NONE, 1.1 numactl.spec, 1.48, 1.49

Neil Horman (nhorman) fedora-extras-commits at redhat.com
Fri Mar 14 11:31:58 UTC 2008


Author: nhorman

Update of /cvs/extras/rpms/numactl/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv10377

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/devel/numactl.spec,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- numactl.spec	19 Feb 2008 16:10:30 -0000	1.48
+++ numactl.spec	14 Mar 2008 11:31:23 -0000	1.49
@@ -1,7 +1,7 @@
 Name:		numactl
 Summary:	Library for tuning for Non Uniform Memory Access machines
 Version:	1.0.2
-Release:	3%{dist} 
+Release:	4%{dist} 
 License:	LGPLv2/GPLv2
 Group: 		System Environment/Base
 URL: 		ftp://ftp.suse.com/pub/people/ak/numa/
@@ -10,7 +10,7 @@
 
 ExcludeArch: s390 s390x
 Patch0: numactl-1.0.2-get_mempolicy-const.patch
-
+Patch1: numactl-1.0.2-alpha-syscall.patch
 
 %description
 Simple NUMA policy support. It consists of a numactl program to run
@@ -69,6 +69,9 @@
 %{_mandir}/man3/*.3*
 
 %changelog
+* Fri Mar 14 2008 Neil Horman <nhorman at redhat.com> - 1.0.2-4
+- Add alpha syscalls (bz 396361)
+
 * Tue Feb 19 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 1.0.2-3
 - Autorebuild for GCC 4.3
 




More information about the fedora-extras-commits mailing list