[PATCH] powerpc: Make check_bugs() static inline
authorjdl@freescale.com <jdl@freescale.com>
Wed, 7 Sep 2005 20:56:20 +0000 (15:56 -0500)
committerPaul Mackerras <paulus@samba.org>
Fri, 9 Sep 2005 12:11:35 +0000 (22:11 +1000)
Make check_bugs() static inline and remove it from syscalls.c.

Signed-off-by: Jon Loeliger <jdl@freescale.com>
Signed-off-by: Kumar Gala <kumar.gala@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/ppc/kernel/syscalls.c
arch/ppc64/kernel/syscalls.c
include/asm-powerpc/bugs.h

index 124313c..127f040 100644 (file)
 #include <asm/ipc.h>
 #include <asm/semaphore.h>
 
-void
-check_bugs(void)
-{
-}
 
 /*
  * sys_ipc() is the de-multiplexer for the SysV IPC calls..
index a8cbb20..05f1663 100644 (file)
 
 extern unsigned long wall_jiffies;
 
-void
-check_bugs(void)
-{
-}
 
 /*
  * sys_ipc() is the de-multiplexer for the SysV IPC calls..
index f5caee8..42fdb73 100644 (file)
@@ -13,6 +13,6 @@
  * architecture-dependent bugs.
  */
 
-extern void check_bugs(void);
+static inline void check_bugs(void) { }
 
 #endif /* _ASM_POWERPC_BUGS_H */