Skip to contentSkip to conversation

PATCH ppc: Make check_bugs() static inline

PATCH [email protected] 1 participant 1 message Sep 7, 2005

lore
Share & tools
lore
#0 lore raw

Make check_bugs() static inline and remove it from syscalls.c.

 arch/ppc/kernel/syscalls.c   |    4 ----
 arch/ppc64/kernel/syscalls.c |    4 ----
 include/asm-powerpc/bugs.h   |    2 +-
 3 files changed, 1 insertions(+), 9 deletions(-)

---

diff --git a/arch/ppc/kernel/syscalls.c b/arch/ppc/kernel/syscalls.c

arch/ppc/kernel/syscalls.c +0 -4
@@ -41,10 +41,6 @@
 #include <asm/ipc.h>
 #include <asm/semaphore.h>
 
-void
-check_bugs(void)
-{
-}
 
 /*
  * sys_ipc() is the de-multiplexer for the SysV IPC calls..
arch/ppc64/kernel/syscalls.c +0 -4
@@ -46,10 +46,6 @@
 
 extern unsigned long wall_jiffies;
 
-void
-check_bugs(void)
-{
-}
 
 /*
  * sys_ipc() is the de-multiplexer for the SysV IPC calls..
include/asm-powerpc/bugs.h +1 -1
@@ -13,6 +13,6 @@
  * architecture-dependent bugs.
  */
 
-extern void check_bugs(void);
+static inline void check_bugs(void) { }
 
 #endif	/* _ASM_POWERPC_BUGS_H */