summaryrefslogtreecommitdiff
path: root/arch/powerpc/kernel/systbl_chk.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/kernel/systbl_chk.c')
-rw-r--r--arch/powerpc/kernel/systbl_chk.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/kernel/systbl_chk.c b/arch/powerpc/kernel/systbl_chk.c
index 238aa63ced8f..2384129f5893 100644
--- a/arch/powerpc/kernel/systbl_chk.c
+++ b/arch/powerpc/kernel/systbl_chk.c
@@ -21,9 +21,11 @@
#ifdef CONFIG_PPC64
#define OLDSYS(func) -1
#define SYS32ONLY(func) -1
+#define PPC64ONLY(func) __NR_##func
#else
#define OLDSYS(func) __NR_old##func
#define SYS32ONLY(func) __NR_##func
+#define PPC64ONLY(func) -1
#endif
#define SYSX(f, f3264, f32) -1