commit | acb499f0ddfbea1176a70d93eb53943c325a073b | [log] [tgz] |
---|---|---|
author | Paul Mundt <lethal@linux-sh.org> | Sat Nov 10 20:39:56 2007 +0900 |
committer | Paul Mundt <lethal@linux-sh.org> | Mon Jan 28 13:18:44 2008 +0900 |
tree | be8ff69f3c54d515b6148dd6f367f4ef488d7260 | |
parent | f3ef75b773b38fe2028fa4627cab3991e2c60180 [diff] [blame] |
sh: Move vsyscall_init() defs up one level. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
diff --git a/include/asm-sh/processor.h b/include/asm-sh/processor.h index b98c882..76c4dc7 100644 --- a/include/asm-sh/processor.h +++ b/include/asm-sh/processor.h
@@ -49,4 +49,10 @@ /* 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 */