From 2d7029db556d0ee9ca4d22a8805330df7944d114 Mon Sep 17 00:00:00 2001
From: Yongli He <yongli.he@windriver.com>
Date: Fri, 8 Aug 2008 14:50:14 +0800
Subject: [PATCH] revoke wire up powerpc system calls

Add support for revoke on powerpc by wiring up the appropriate
syscalls.

Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Integrated-by: Yongli he   <yongli.he@windriver.com>
---
 arch/powerpc/include/asm/systbl.h |    1 +
 arch/powerpc/include/asm/unistd.h |    5 ++++-
 2 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/arch/powerpc/include/asm/systbl.h b/arch/powerpc/include/asm/systbl.h
index 6c5c2e6..b1c0e54 100644
--- a/arch/powerpc/include/asm/systbl.h
+++ b/arch/powerpc/include/asm/systbl.h
@@ -328,3 +328,4 @@ COMPAT_SYS_SPU(pwritev)
 COMPAT_SYS(rt_tgsigqueueinfo)
 SYSCALL(vbi_mem)
 SYSCALL(vbi_activate_vb)
+SYSCALL(revokeat)
diff --git a/arch/powerpc/include/asm/unistd.h b/arch/powerpc/include/asm/unistd.h
index c7442de..1ee8133 100644
--- a/arch/powerpc/include/asm/unistd.h
+++ b/arch/powerpc/include/asm/unistd.h
@@ -350,9 +350,12 @@
 #define VBI_MEM_READ		0x0010
 #define VBI_MEM_WRITE		0x0100
 
+#define __NR_revokeat		325
+
+
 #ifdef __KERNEL__
 
-#define __NR_syscalls		325
+#define __NR_syscalls		326
 
 #define __NR__exit __NR_exit
 #define NR_syscalls	__NR_syscalls
-- 
1.6.5.2

