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


Groups > linux.kernel > #1317833 > unrolled thread

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

Started byAlexander Kuleshov <kuleshovmail@gmail.com>
First post2016-01-26 13:30 +0100
Last post2016-01-27 11:50 +0100
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [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

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

FromAlexander Kuleshov <kuleshovmail@gmail.com>
Date2016-01-26 13:30 +0100
Subject[PATCH] x86/head_64.S: remove unused L3_PAGE_OFFSET
Message-ID<qVaUY-42e-51@gated-at.bofh.it>
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

[toc] | [next] | [standalone]


#1318841 — [tip:x86/asm] x86/asm: Remove unused L3_PAGE_OFFSET

Fromtip-bot for Alexander Kuleshov <tipbot@zytor.com>
Date2016-01-27 11:50 +0100
Subject[tip:x86/asm] x86/asm: Remove unused L3_PAGE_OFFSET
Message-ID<qVvPH-2dw-3@gated-at.bofh.it>
In reply to#1317833
Commit-ID:  14365449b6ce34cf6a3040ff8ebbb39d89d67159
Gitweb:     http://git.kernel.org/tip/14365449b6ce34cf6a3040ff8ebbb39d89d67159
Author:     Alexander Kuleshov <kuleshovmail@gmail.com>
AuthorDate: Tue, 26 Jan 2016 18:21:21 +0600
Committer:  Thomas Gleixner <tglx@linutronix.de>
CommitDate: Wed, 27 Jan 2016 11:37:49 +0100

x86/asm: Remove unused L3_PAGE_OFFSET

L3_PAGE_OFFSET was introduced in commit a6523748bd (paravirt/x86, 64-bit: move
__PAGE_OFFSET to leave a space for hypervisor), but has no users.

Signed-off-by: Alexander Kuleshov <kuleshovmail@gmail.com>
Cc: Andy Lutomirski <luto@kernel.org>
Cc: Borislav Petkov <bp@suse.de>
Cc: Denys Vlasenko <dvlasenk@redhat.com>
Cc: Andrey Ryabinin <ryabinin.a.a@gmail.com>
Link: http://lkml.kernel.org/r/1453810881-30622-1-git-send-email-kuleshovmail@gmail.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
---
 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)
 

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web