Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1317833

[PATCH] x86/head_64.S: remove unused L3_PAGE_OFFSET

From Alexander Kuleshov <kuleshovmail@gmail.com>
Newsgroups linux.kernel
Subject [PATCH] x86/head_64.S: remove unused L3_PAGE_OFFSET
Date 2016-01-26 13:30 +0100
Message-ID <qVaUY-42e-51@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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@redhat.com>), but still not used
anywhere.

Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
---
 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

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] x86/head_64.S: remove unused L3_PAGE_OFFSET Alexander Kuleshov <kuleshovmail@gmail.com> - 2016-01-26 13:30 +0100
  [tip:x86/asm] x86/asm: Remove unused L3_PAGE_OFFSET tip-bot for Alexander Kuleshov <tipbot@zytor.com> - 2016-01-27 11:50 +0100

csiph-web