[PATCH] x86_64: Support alternative() in vsyscalls
authorAndi Kleen <ak@suse.de>
Wed, 11 Jan 2006 21:45:21 +0000 (22:45 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Thu, 12 Jan 2006 03:04:58 +0000 (19:04 -0800)
commit7f6c5b046978d68e69bdc73433ead41612a2a1c9
tree60f74adc6166496fbd84143272ad3b88254f9b72
parent6e54d95f73bbc79171802a1983e0c3835676db88
[PATCH] x86_64: Support alternative() in vsyscalls

The real vsyscall .text addresses are not mapped when the alternative()
replacement runs early, so use some black magic to access them using
the direct mapping.

Signed-off-by: Andi Kleen <ak@suse.de>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/x86_64/kernel/setup.c