diff options
author | Richard Weinberger <richard@nod.at> | 2011-07-25 17:12:53 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2011-07-25 20:57:13 -0700 |
commit | 548f0a4e02f6fa33278e77a2a6477cdeb512317f (patch) | |
tree | c1e3830dd6ad0561745452134ec64fd1fa7656a2 /arch/um/sys-i386/asm/elf.h | |
parent | b743ac54e54ca18fb7164a97cc77cf1ccee0b0f7 (diff) | |
download | op-kernel-dev-548f0a4e02f6fa33278e77a2a6477cdeb512317f.zip op-kernel-dev-548f0a4e02f6fa33278e77a2a6477cdeb512317f.tar.gz |
um: Set __HAVE_ARCH_GATE_AREA for i386
When UML is unable to reuse the host's vDSO FIXADDR_USER_START is zero.
To handle this special case correclty we have to implement custom gate
area helper methods.
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/sys-i386/asm/elf.h')
-rw-r--r-- | arch/um/sys-i386/asm/elf.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/um/sys-i386/asm/elf.h b/arch/um/sys-i386/asm/elf.h index d964a41..4230555 100644 --- a/arch/um/sys-i386/asm/elf.h +++ b/arch/um/sys-i386/asm/elf.h @@ -105,6 +105,8 @@ extern unsigned long __kernel_vsyscall; #define FIXADDR_USER_START VSYSCALL_BASE #define FIXADDR_USER_END VSYSCALL_END +#define __HAVE_ARCH_GATE_AREA 1 + /* * Architecture-neutral AT_ values in 0-17, leave some room * for more of them, start the x86-specific ones at 32. |