diff options
Diffstat (limited to 'arch/x86_64')
-rw-r--r-- | arch/x86_64/kernel/vmlinux.lds.S | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/arch/x86_64/kernel/vmlinux.lds.S b/arch/x86_64/kernel/vmlinux.lds.S index 7ef0b8820cd2..32e427a95ffd 100644 --- a/arch/x86_64/kernel/vmlinux.lds.S +++ b/arch/x86_64/kernel/vmlinux.lds.S | |||
@@ -95,6 +95,12 @@ SECTIONS | |||
95 | { *(.vsyscall_gtod_data) } | 95 | { *(.vsyscall_gtod_data) } |
96 | vsyscall_gtod_data = VVIRT(.vsyscall_gtod_data); | 96 | vsyscall_gtod_data = VVIRT(.vsyscall_gtod_data); |
97 | 97 | ||
98 | |||
99 | .vsyscall_1 ADDR(.vsyscall_0) + 1024: AT(VLOAD(.vsyscall_1)) | ||
100 | { *(.vsyscall_1) } | ||
101 | .vsyscall_2 ADDR(.vsyscall_0) + 2048: AT(VLOAD(.vsyscall_2)) | ||
102 | { *(.vsyscall_2) } | ||
103 | |||
98 | .vgetcpu_mode : AT(VLOAD(.vgetcpu_mode)) { *(.vgetcpu_mode) } | 104 | .vgetcpu_mode : AT(VLOAD(.vgetcpu_mode)) { *(.vgetcpu_mode) } |
99 | vgetcpu_mode = VVIRT(.vgetcpu_mode); | 105 | vgetcpu_mode = VVIRT(.vgetcpu_mode); |
100 | 106 | ||
@@ -102,10 +108,6 @@ SECTIONS | |||
102 | .jiffies : AT(VLOAD(.jiffies)) { *(.jiffies) } | 108 | .jiffies : AT(VLOAD(.jiffies)) { *(.jiffies) } |
103 | jiffies = VVIRT(.jiffies); | 109 | jiffies = VVIRT(.jiffies); |
104 | 110 | ||
105 | .vsyscall_1 ADDR(.vsyscall_0) + 1024: AT(VLOAD(.vsyscall_1)) | ||
106 | { *(.vsyscall_1) } | ||
107 | .vsyscall_2 ADDR(.vsyscall_0) + 2048: AT(VLOAD(.vsyscall_2)) | ||
108 | { *(.vsyscall_2) } | ||
109 | .vsyscall_3 ADDR(.vsyscall_0) + 3072: AT(VLOAD(.vsyscall_3)) | 111 | .vsyscall_3 ADDR(.vsyscall_0) + 3072: AT(VLOAD(.vsyscall_3)) |
110 | { *(.vsyscall_3) } | 112 | { *(.vsyscall_3) } |
111 | 113 | ||