diff options
Diffstat (limited to 'arch')
-rw-r--r-- | arch/x86/kernel/vmlinux.lds.S | 4 | ||||
-rw-r--r-- | arch/x86/kernel/vsyscall_64.c | 5 |
2 files changed, 0 insertions, 9 deletions
diff --git a/arch/x86/kernel/vmlinux.lds.S b/arch/x86/kernel/vmlinux.lds.S index 98b378dc7f8..4f90082fd64 100644 --- a/arch/x86/kernel/vmlinux.lds.S +++ b/arch/x86/kernel/vmlinux.lds.S | |||
@@ -182,10 +182,6 @@ SECTIONS | |||
182 | *(.vsyscall_2) | 182 | *(.vsyscall_2) |
183 | } | 183 | } |
184 | 184 | ||
185 | .vsyscall_3 ADDR(.vsyscall_0) + 3072: AT(VLOAD(.vsyscall_3)) { | ||
186 | *(.vsyscall_3) | ||
187 | } | ||
188 | |||
189 | . = ALIGN(__vsyscall_0 + PAGE_SIZE, PAGE_SIZE); | 185 | . = ALIGN(__vsyscall_0 + PAGE_SIZE, PAGE_SIZE); |
190 | 186 | ||
191 | #undef VSYSCALL_ADDR | 187 | #undef VSYSCALL_ADDR |
diff --git a/arch/x86/kernel/vsyscall_64.c b/arch/x86/kernel/vsyscall_64.c index 9b2f3f51bc9..70a5f6eebd6 100644 --- a/arch/x86/kernel/vsyscall_64.c +++ b/arch/x86/kernel/vsyscall_64.c | |||
@@ -209,11 +209,6 @@ vgetcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *tcache) | |||
209 | return 0; | 209 | return 0; |
210 | } | 210 | } |
211 | 211 | ||
212 | static long __vsyscall(3) venosys_1(void) | ||
213 | { | ||
214 | return -ENOSYS; | ||
215 | } | ||
216 | |||
217 | /* Assume __initcall executes before all user space. Hopefully kmod | 212 | /* Assume __initcall executes before all user space. Hopefully kmod |
218 | doesn't violate that. We'll find out if it does. */ | 213 | doesn't violate that. We'll find out if it does. */ |
219 | static void __cpuinit vsyscall_set_cpu(int cpu) | 214 | static void __cpuinit vsyscall_set_cpu(int cpu) |