sh: Initial vsyscall page support.
This implements initial support for the vsyscall page on SH. At the moment we leave it configurable due to having nommu to support from the same code base. We hook it up for the signal trampoline return at present, with more to be added later, once uClibc catches up. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
@ -276,5 +276,11 @@ 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_H */
|
||||
|
Reference in New Issue
Block a user