The "next available" system call numbers on powerpc changed for the 2.6.21
kernel.

Signed-off-by: Kevin Corry <[EMAIL PROTECTED]>
Signed-off-by: Carl Love <[EMAIL PROTECTED]>

Index: linux-2.6.21-perfmon1/include/asm-powerpc/unistd.h
===================================================================
--- linux-2.6.21-perfmon1.orig/include/asm-powerpc/unistd.h
+++ linux-2.6.21-perfmon1/include/asm-powerpc/unistd.h
@@ -326,7 +326,7 @@
 #define __NR_move_pages                301
 #define __NR_getcpu            302
 #define __NR_epoll_pwait       303
-#define __NR_pfm_create_context        303
+#define __NR_pfm_create_context        304
 #define __NR_pfm_write_pmcs    (__NR_pfm_create_context+1)
 #define __NR_pfm_write_pmds    (__NR_pfm_create_context+2)
 #define __NR_pfm_read_pmds     (__NR_pfm_create_context+3)
_______________________________________________
perfmon mailing list
[email protected]
http://www.hpl.hp.com/hosted/linux/mail-archives/perfmon/

Reply via email to