[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 124313ce3c09055fe8ce73d680bc190196b08033..127f040de9de7ab8a1f6235f4f326db971ad20b6 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 a8cbb202b8cd482f8deb05e68287341600c44637..05f16633bd2c8c0176cdc7611b6f62a2b4617c0a 100644 (file)
 
 extern unsigned long wall_jiffies;
 
-void
-check_bugs(void)
-{
-}
 
 /*
  * sys_ipc() is the de-multiplexer for the SysV IPC calls..
index f5caee8558bf8304754555e29ea0eb45531e5e22..42fdb73e3068557061afa3064d0fa5e049e7615f 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 */