diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2009-09-04 09:56:22 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-09-04 09:56:22 (GMT) |
commit | 825c9fb47a0837db12fecf8d360e0e1d284ddb49 (patch) | |
tree | 555effec5a598bb8de43fc49b801b8ef403f5ffd /arch/sparc/include/asm/unistd.h | |
parent | a29889a5369d2604c2053bcd051519a2445d8a70 (diff) | |
download | linux-fsl-qoriq-825c9fb47a0837db12fecf8d360e0e1d284ddb49.tar.xz |
sparc: add basic support for 'perf'
This wires up the perf_counter_open() syscall so that basic
software support for perf is working.
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include/asm/unistd.h')
-rw-r--r-- | arch/sparc/include/asm/unistd.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/sparc/include/asm/unistd.h b/arch/sparc/include/asm/unistd.h index b2c406d..706df66 100644 --- a/arch/sparc/include/asm/unistd.h +++ b/arch/sparc/include/asm/unistd.h @@ -395,8 +395,9 @@ #define __NR_preadv 324 #define __NR_pwritev 325 #define __NR_rt_tgsigqueueinfo 326 +#define __NR_perf_counter_open 327 -#define NR_SYSCALLS 327 +#define NR_SYSCALLS 328 #ifdef __32bit_syscall_numbers__ /* Sparc 32-bit only has the "setresuid32", "getresuid32" variants, |