Skip to content

Commit

Permalink
[PATCH] powerpc: Make check_bugs() static inline
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
jdl@freescale.com authored and Paul Mackerras committed Sep 9, 2005
1 parent a37c887 commit 6480708
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 9 deletions.
4 changes: 0 additions & 4 deletions arch/ppc/kernel/syscalls.c
Original file line number Diff line number Diff line change
Expand Up @@ -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..
Expand Down
4 changes: 0 additions & 4 deletions arch/ppc64/kernel/syscalls.c
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,6 @@

extern unsigned long wall_jiffies;

void
check_bugs(void)
{
}

/*
* sys_ipc() is the de-multiplexer for the SysV IPC calls..
Expand Down
2 changes: 1 addition & 1 deletion include/asm-powerpc/bugs.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@
* architecture-dependent bugs.
*/

extern void check_bugs(void);
static inline void check_bugs(void) { }

#endif /* _ASM_POWERPC_BUGS_H */

0 comments on commit 6480708

Please sign in to comment.