summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/include/asm/unistd.h
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2009-01-09 07:01:53 +0100
committerPaul Mackerras <paulus@samba.org>2009-01-09 08:27:53 +0100
commitd662ed26734473d4cb5f3d78cebfec8f9126e97c (patch)
treedcf32a7a03a544f0cc456b36e5e2ec611c531715 /arch/powerpc/include/asm/unistd.h
parentperf_counter: Add dummy perf_counter_print_debug function (diff)
downloadlinux-d662ed26734473d4cb5f3d78cebfec8f9126e97c.tar.xz
linux-d662ed26734473d4cb5f3d78cebfec8f9126e97c.zip
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 e07d0c76ed77..7cef5afe89d8 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