sh: Make sure AT_SYSINFO_EHDR is exposed to userspace in asm/auxvec.h.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 29 Jul 2008 14:12:25 +0000 (23:12 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 29 Jul 2008 14:12:25 +0000 (23:12 +0900)
commitc170f86e31410cc38971c1dedd8b25885e6e43b6
tree7181e4e47b8667a3604d1aec92c0728fae011be6
parent51f3547d619956e9b428bfff17004d8f4d259a02
sh: Make sure AT_SYSINFO_EHDR is exposed to userspace in asm/auxvec.h.

Presently this is protected by a CONFIG_VSYSCALL ifdef so we don't
inadvertently trigger the creation of the gate VMA on CPUs where we don't
enable the vDSO, which is obviously not visible to userspace. Fix this up
by adding in an ifndef __KERNEL__ check at the same time.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/include/asm/auxvec.h