Skip to content
Commit c170f86e authored by Paul Mundt's avatar Paul Mundt
Browse files

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: default avatarPaul Mundt <lethal@linux-sh.org>
parent 51f3547d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment