summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorPratyush Anand <panand@redhat.com>2016-10-31 17:18:16 +0900
committerAtsushi Kumagai <ats-kumagai@wm.jp.nec.com>2016-11-01 16:23:58 +0900
commitecb3719bb8d6396b09f47f3710d1c1bbb9515af1 (patch)
tree445a4ec0d5c6d1e436d1089a307aad754310ddba /arch
parent8419f4d64fadc3015e3106eba95a8c2d71f259cb (diff)
[PATCH V2 4/4] x86_64: kill some unused initialization
VMALLOC_START, VMALLOC_END, MODULES_VADDR and MODULES_END are mo more needed for x86_64 now. So, kill their initialization. Signed-off-by: Pratyush Anand <panand@redhat.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86_64.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/x86_64.c b/arch/x86_64.c
index 9e2940c..3ef33ae 100644
--- a/arch/x86_64.c
+++ b/arch/x86_64.c
@@ -169,13 +169,9 @@ get_versiondep_info_x86_64(void)
return FALSE;
if (info->kernel_version < KERNEL_VERSION(2, 6, 31)) {
- info->vmalloc_start = VMALLOC_START_ORIG;
- info->vmalloc_end = VMALLOC_END_ORIG;
info->vmemmap_start = VMEMMAP_START_ORIG;
info->vmemmap_end = VMEMMAP_END_ORIG;
} else {
- info->vmalloc_start = VMALLOC_START_2_6_31;
- info->vmalloc_end = VMALLOC_END_2_6_31;
info->vmemmap_start = VMEMMAP_START_2_6_31;
info->vmemmap_end = VMEMMAP_END_2_6_31;
}