|
Neil Horman |
6f7d5b |
diff -up numactl-1.0.2/syscall.c.orig numactl-1.0.2/syscall.c
|
|
Neil Horman |
6f7d5b |
--- numactl-1.0.2/syscall.c.orig 2007-12-20 10:07:04.000000000 -0500
|
|
Neil Horman |
6f7d5b |
+++ numactl-1.0.2/syscall.c 2007-12-20 10:07:28.000000000 -0500
|
|
Neil Horman |
6f7d5b |
@@ -127,7 +127,7 @@ long syscall6(long call, long a, long b,
|
|
Neil Horman |
6f7d5b |
#endif
|
|
Neil Horman |
6f7d5b |
|
|
Neil Horman |
6f7d5b |
long WEAK get_mempolicy(int *policy,
|
|
Neil Horman |
6f7d5b |
- const unsigned long *nmask, unsigned long maxnode,
|
|
Neil Horman |
6f7d5b |
+ unsigned long *nmask, unsigned long maxnode,
|
|
Neil Horman |
6f7d5b |
void *addr, int flags)
|
|
Neil Horman |
6f7d5b |
{
|
|
Neil Horman |
6f7d5b |
return syscall(__NR_get_mempolicy, policy, nmask, maxnode, addr, flags);
|
|
Neil Horman |
6f7d5b |
diff -up numactl-1.0.2/numaif.h.orig numactl-1.0.2/numaif.h
|
|
Neil Horman |
6f7d5b |
--- numactl-1.0.2/numaif.h.orig 2007-12-20 10:07:51.000000000 -0500
|
|
Neil Horman |
6f7d5b |
+++ numactl-1.0.2/numaif.h 2007-12-20 10:07:56.000000000 -0500
|
|
Neil Horman |
6f7d5b |
@@ -9,7 +9,7 @@ extern "C" {
|
|
Neil Horman |
6f7d5b |
|
|
Neil Horman |
6f7d5b |
/* System calls */
|
|
Neil Horman |
6f7d5b |
extern long get_mempolicy(int *policy,
|
|
Neil Horman |
6f7d5b |
- const unsigned long *nmask, unsigned long maxnode,
|
|
Neil Horman |
6f7d5b |
+ unsigned long *nmask, unsigned long maxnode,
|
|
Neil Horman |
6f7d5b |
void *addr, int flags);
|
|
Neil Horman |
6f7d5b |
extern long mbind(void *start, unsigned long len, int mode,
|
|
Neil Horman |
6f7d5b |
const unsigned long *nmask, unsigned long maxnode, unsigned flags);
|