提交 acb499f0 编写于 作者: P Paul Mundt

sh: Move vsyscall_init() defs up one level.

Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 f3ef75b7
......@@ -49,4 +49,10 @@ enum cpu_type {
/* arch/sh/kernel/setup.c */
const char *get_cpu_subtype(struct sh_cpuinfo *c);
#ifdef CONFIG_VSYSCALL
int vsyscall_init(void);
#else
#define vsyscall_init() do { } while (0)
#endif
#endif /* __ASM_SH_PROCESSOR_H */
......@@ -237,11 +237,5 @@ static inline void prefetch(void *x)
#define prefetchw(x) prefetch(x)
#endif
#ifdef CONFIG_VSYSCALL
extern int vsyscall_init(void);
#else
#define vsyscall_init() do { } while (0)
#endif
#endif /* __KERNEL__ */
#endif /* __ASM_SH_PROCESSOR_32_H */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册