[PATCH] x86/head_64.S: remove unused L3_PAGE_OFFSET
From: Alexander Kuleshov
Date: Tue Jan 26 2016 - 07:25:12 EST
The kernel/head_64.S has L3_PAGE_OFFSET definition which is not
used anywhere. It was introduced in the a6523748bd commit
(paravirt/x86, 64-bit: move __PAGE_OFFSET to leave a space for hypervisor
by Eduardo Habkost <ehabkost@xxxxxxxxxx>), but still not used
anywhere.
Signed-off-by: Alexander Kuleshov <kuleshovmail@xxxxxxxxx>
---
arch/x86/kernel/head_64.S | 1 -
1 file changed, 1 deletion(-)
diff --git a/arch/x86/kernel/head_64.S b/arch/x86/kernel/head_64.S
index ffdc0e8..2e97468 100644
--- a/arch/x86/kernel/head_64.S
+++ b/arch/x86/kernel/head_64.S
@@ -38,7 +38,6 @@
#define pud_index(x) (((x) >> PUD_SHIFT) & (PTRS_PER_PUD-1))
L4_PAGE_OFFSET = pgd_index(__PAGE_OFFSET)
-L3_PAGE_OFFSET = pud_index(__PAGE_OFFSET)
L4_START_KERNEL = pgd_index(__START_KERNEL_map)
L3_START_KERNEL = pud_index(__START_KERNEL_map)
--
2.7.0.25.gfc10eb5