From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: jdl@freescale.com To: linuxppc-dev@ozlabs.org, linuxppc64-dev@ozlabs.org Date: Wed, 07 Sep 2005 15:56:20 -0500 Message-Id: Sender: Jon Loeliger Subject: PATCH ppc: Make check_bugs() static inline List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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(-) Signed-off-by: Jon Loeliger Signed-off-by: Kumar Gala --- diff --git a/arch/ppc/kernel/syscalls.c b/arch/ppc/kernel/syscalls.c --- a/arch/ppc/kernel/syscalls.c +++ b/arch/ppc/kernel/syscalls.c @@ -41,10 +41,6 @@ #include #include -void -check_bugs(void) -{ -} /* * 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 --- a/arch/ppc64/kernel/syscalls.c +++ b/arch/ppc64/kernel/syscalls.c @@ -46,10 +46,6 @@ extern unsigned long wall_jiffies; -void -check_bugs(void) -{ -} /* * 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 --- a/include/asm-powerpc/bugs.h +++ b/include/asm-powerpc/bugs.h @@ -13,6 +13,6 @@ * architecture-dependent bugs. */ -extern void check_bugs(void); +static inline void check_bugs(void) { } #endif /* _ASM_POWERPC_BUGS_H */