rpms/numactl/devel numactl-1.0.2-get_mempolicy-const.patch,1.1,1.2

Neil Horman (nhorman) fedora-extras-commits at redhat.com
Thu Dec 20 15:35:25 UTC 2007


Author: nhorman

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

Modified Files:
	numactl-1.0.2-get_mempolicy-const.patch 
Log Message:
Updating patch to build properly

numactl-1.0.2-get_mempolicy-const.patch:

Index: numactl-1.0.2-get_mempolicy-const.patch
===================================================================
RCS file: /cvs/extras/rpms/numactl/devel/numactl-1.0.2-get_mempolicy-const.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- numactl-1.0.2-get_mempolicy-const.patch	20 Dec 2007 15:13:33 -0000	1.1
+++ numactl-1.0.2-get_mempolicy-const.patch	20 Dec 2007 15:35:17 -0000	1.2
@@ -1,6 +1,6 @@
 diff -up numactl-1.0.2/syscall.c.orig numactl-1.0.2/syscall.c
---- numactl-1.0.2/syscall.c.orig	2007-12-20 10:07:04.000000000 -0500
-+++ numactl-1.0.2/syscall.c	2007-12-20 10:07:28.000000000 -0500
+--- numactl-1.0.2/syscall.c.orig	2007-08-16 10:36:23.000000000 -0400
++++ numactl-1.0.2/syscall.c	2007-12-20 10:33:27.000000000 -0500
 @@ -127,7 +127,7 @@ long syscall6(long call, long a, long b,
  #endif
  
@@ -10,9 +10,21 @@
  		   void *addr, int flags)          
  {
  	return syscall(__NR_get_mempolicy, policy, nmask, maxnode, addr, flags);
+diff -up numactl-1.0.2/numaint.h.orig numactl-1.0.2/numaint.h
+--- numactl-1.0.2/numaint.h.orig	2007-12-20 10:33:53.000000000 -0500
++++ numactl-1.0.2/numaint.h	2007-12-20 10:33:58.000000000 -0500
+@@ -5,7 +5,7 @@ extern int numa_sched_setaffinity(pid_t 
+ extern int numa_sched_getaffinity(pid_t pid, unsigned len, const unsigned long *mask);
+ extern int numa_sched_setaffinity_int(pid_t pid, unsigned len,const unsigned long *mask);
+ extern int numa_sched_getaffinity_int(pid_t pid, unsigned len,const unsigned long *mask);
+-extern long get_mempolicy_int(int *policy, const unsigned long *nmask, 
++extern long get_mempolicy_int(int *policy, unsigned long *nmask, 
+ 			      unsigned long maxnode, void *addr, int flags);
+ extern long mbind_int(void *start, unsigned long len, int mode, 
+ 		  const unsigned long *nmask, unsigned long maxnode, unsigned flags);
 diff -up numactl-1.0.2/numaif.h.orig numactl-1.0.2/numaif.h
---- numactl-1.0.2/numaif.h.orig	2007-12-20 10:07:51.000000000 -0500
-+++ numactl-1.0.2/numaif.h	2007-12-20 10:07:56.000000000 -0500
+--- numactl-1.0.2/numaif.h.orig	2007-08-16 10:36:23.000000000 -0400
++++ numactl-1.0.2/numaif.h	2007-12-20 10:33:27.000000000 -0500
 @@ -9,7 +9,7 @@ extern "C" { 
  
  /* System calls */




More information about the fedora-extras-commits mailing list