sh: Move vsyscall_init() defs up one level.
authorPaul Mundt <lethal@linux-sh.org>
Sat, 10 Nov 2007 11:39:56 +0000 (20:39 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 28 Jan 2008 04:18:44 +0000 (13:18 +0900)
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
include/asm-sh/processor.h
include/asm-sh/processor_32.h

index b98c882d5036967271cddfb97e0c1dd549c36562..76c4dc7021cb5dc8943eb0deffd20f0709c92e56 100644 (file)
@@ -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 */
index 35040fe43e5e8c0286b71c068ccb5300843b2a28..1ad74633c009ea8d0aa5676c047a6fe937e02e54 100644 (file)
@@ -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 */