mirror of https://gitee.com/openkylin/linux.git
sh: Move vsyscall_init() defs up one level.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
parent
f3ef75b773
commit
acb499f0dd
|
@ -49,4 +49,10 @@ enum cpu_type {
|
||||||
/* arch/sh/kernel/setup.c */
|
/* arch/sh/kernel/setup.c */
|
||||||
const char *get_cpu_subtype(struct sh_cpuinfo *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 */
|
#endif /* __ASM_SH_PROCESSOR_H */
|
||||||
|
|
|
@ -237,11 +237,5 @@ static inline void prefetch(void *x)
|
||||||
#define prefetchw(x) prefetch(x)
|
#define prefetchw(x) prefetch(x)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef CONFIG_VSYSCALL
|
|
||||||
extern int vsyscall_init(void);
|
|
||||||
#else
|
|
||||||
#define vsyscall_init() do { } while (0)
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* __KERNEL__ */
|
#endif /* __KERNEL__ */
|
||||||
#endif /* __ASM_SH_PROCESSOR_32_H */
|
#endif /* __ASM_SH_PROCESSOR_32_H */
|
||||||
|
|
Loading…
Reference in New Issue