aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjdl@freescale.com <jdl@freescale.com>2005-09-07 16:56:20 -0400
committerPaul Mackerras <paulus@samba.org>2005-09-09 08:11:35 -0400
commit64807081e38703617cf9a5d71db14ea2b3e1cb04 (patch)
tree81f2be3978b4f39b292343e11a831bd569ee6af0
parenta37c8875a764b4decf941859f4a2c63e1e86c8fa (diff)
[PATCH] powerpc: Make check_bugs() static inline
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>
-rw-r--r--arch/ppc/kernel/syscalls.c4
-rw-r--r--arch/ppc64/kernel/syscalls.c4
-rw-r--r--include/asm-powerpc/bugs.h2
3 files changed, 1 insertions, 9 deletions
diff --git a/arch/ppc/kernel/syscalls.c b/arch/ppc/kernel/syscalls.c
index 124313ce3c09..127f040de9de 100644
--- a/arch/ppc/kernel/syscalls.c
+++ b/arch/ppc/kernel/syscalls.c
@@ -41,10 +41,6 @@
41#include <asm/ipc.h> 41#include <asm/ipc.h>
42#include <asm/semaphore.h> 42#include <asm/semaphore.h>
43 43
44void
45check_bugs(void)
46{
47}
48 44
49/* 45/*
50 * sys_ipc() is the de-multiplexer for the SysV IPC calls.. 46 * sys_ipc() is the de-multiplexer for the SysV IPC calls..
diff --git a/arch/ppc64/kernel/syscalls.c b/arch/ppc64/kernel/syscalls.c
index a8cbb202b8cd..05f16633bd2c 100644
--- a/arch/ppc64/kernel/syscalls.c
+++ b/arch/ppc64/kernel/syscalls.c
@@ -46,10 +46,6 @@
46 46
47extern unsigned long wall_jiffies; 47extern unsigned long wall_jiffies;
48 48
49void
50check_bugs(void)
51{
52}
53 49
54/* 50/*
55 * sys_ipc() is the de-multiplexer for the SysV IPC calls.. 51 * sys_ipc() is the de-multiplexer for the SysV IPC calls..
diff --git a/include/asm-powerpc/bugs.h b/include/asm-powerpc/bugs.h
index f5caee8558bf..42fdb73e3068 100644
--- a/include/asm-powerpc/bugs.h
+++ b/include/asm-powerpc/bugs.h
@@ -13,6 +13,6 @@
13 * architecture-dependent bugs. 13 * architecture-dependent bugs.
14 */ 14 */
15 15
16extern void check_bugs(void); 16static inline void check_bugs(void) { }
17 17
18#endif /* _ASM_POWERPC_BUGS_H */ 18#endif /* _ASM_POWERPC_BUGS_H */