mirror of https://gitee.com/openkylin/linux.git
[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>
This commit is contained in:
parent
a37c8875a7
commit
64807081e3
|
@ -41,10 +41,6 @@
|
||||||
#include <asm/ipc.h>
|
#include <asm/ipc.h>
|
||||||
#include <asm/semaphore.h>
|
#include <asm/semaphore.h>
|
||||||
|
|
||||||
void
|
|
||||||
check_bugs(void)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* sys_ipc() is the de-multiplexer for the SysV IPC calls..
|
* sys_ipc() is the de-multiplexer for the SysV IPC calls..
|
||||||
|
|
|
@ -46,10 +46,6 @@
|
||||||
|
|
||||||
extern unsigned long wall_jiffies;
|
extern unsigned long wall_jiffies;
|
||||||
|
|
||||||
void
|
|
||||||
check_bugs(void)
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* sys_ipc() is the de-multiplexer for the SysV IPC calls..
|
* sys_ipc() is the de-multiplexer for the SysV IPC calls..
|
||||||
|
|
|
@ -13,6 +13,6 @@
|
||||||
* architecture-dependent bugs.
|
* architecture-dependent bugs.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
extern void check_bugs(void);
|
static inline void check_bugs(void) { }
|
||||||
|
|
||||||
#endif /* _ASM_POWERPC_BUGS_H */
|
#endif /* _ASM_POWERPC_BUGS_H */
|
||||||
|
|
Loading…
Reference in New Issue