diff options
| -rw-r--r-- | arch/x86/kernel/vmlinux.lds.S | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/kernel/vmlinux.lds.S b/arch/x86/kernel/vmlinux.lds.S index 1d4897baf1cc..49edf2dd3613 100644 --- a/arch/x86/kernel/vmlinux.lds.S +++ b/arch/x86/kernel/vmlinux.lds.S | |||
| @@ -164,6 +164,11 @@ SECTIONS | |||
| 164 | #undef __VVAR_KERNEL_LDS | 164 | #undef __VVAR_KERNEL_LDS |
| 165 | #undef EMIT_VVAR | 165 | #undef EMIT_VVAR |
| 166 | 166 | ||
| 167 | /* | ||
| 168 | * Pad the rest of the page with zeros. Otherwise the loader | ||
| 169 | * can leave garbage here. | ||
| 170 | */ | ||
| 171 | . = __vvar_beginning_hack + PAGE_SIZE; | ||
| 167 | } :data | 172 | } :data |
| 168 | 173 | ||
| 169 | . = ALIGN(__vvar_page + PAGE_SIZE, PAGE_SIZE); | 174 | . = ALIGN(__vvar_page + PAGE_SIZE, PAGE_SIZE); |
