aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/include/asm/unistd.h
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2009-01-09 17:01:53 +1100
committerPaul Mackerras <paulus@samba.org>2009-01-09 18:27:53 +1100
commitd662ed26734473d4cb5f3d78cebfec8f9126e97c (patch)
treedcf32a7a03a544f0cc456b36e5e2ec611c531715 /arch/powerpc/include/asm/unistd.h
parent4eb96fcfe07b7f2a05577e57533840f8e26bea53 (diff)
powerpc/perf_counter: Add perf_counter system call on powerpc
... with an empty/dummy asm/perf_counter.h so it builds. Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/include/asm/unistd.h')
-rw-r--r--arch/powerpc/include/asm/unistd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/unistd.h b/arch/powerpc/include/asm/unistd.h
index e07d0c76ed7..7cef5afe89d 100644
--- a/arch/powerpc/include/asm/unistd.h
+++ b/arch/powerpc/include/asm/unistd.h
@@ -341,10 +341,11 @@
#define __NR_dup3 316
#define __NR_pipe2 317
#define __NR_inotify_init1 318
+#define __NR_perf_counter_open 319
#ifdef __KERNEL__
-#define __NR_syscalls 319
+#define __NR_syscalls 320
#define __NR__exit __NR_exit
#define NR_syscalls __NR_syscalls