From: jdl@freescale•com
To: linuxppc-dev@ozlabs•org, linuxppc64-dev@ozlabs•org
Subject: PATCH ppc: Make check_bugs() static inline
Date: Wed, 07 Sep 2005 15:56:20 -0500 [thread overview]
Message-ID: <E1ED6xw-00080Q-NA@jdl.com> (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(-)
Signed-off-by: Jon Loeliger <jdl@freescale•com>
Signed-off-by: Kumar Gala <kumar.gala@freescale•com>
---
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 <asm/ipc.h>
#include <asm/semaphore.h>
-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 */
reply other threads:[~2005-09-07 20:56 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=E1ED6xw-00080Q-NA@jdl.com \
--to=jdl@freescale$(echo .)com \
--cc=linuxppc-dev@ozlabs$(echo .)org \
--cc=linuxppc64-dev@ozlabs$(echo .)org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox