Skip to contentSkip to conversation

x86_64: trim clear_page.S includes

PATCH In review Alexey Dobriyan 3 participants 3 messages Jan 13, 2018 – Feb 13, 2018 x86

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 x86_64: trim clear_page.S includes

After alternatives were shifted to the call site, only 2 headers are necessary.

---

 arch/x86/lib/clear_page_64.S |    2 --
 1 file changed, 2 deletions(-)
arch/x86/lib/clear_page_64.S +0 -2
@@ -1,6 +1,4 @@
 #include <linux/linkage.h>
-#include <asm/cpufeatures.h>
-#include <asm/alternative-asm.h>
 #include <asm/export.h>
 
 /*
Reviewed-by on v1 1/1
#1 lore raw
Quoted 12 lines · Alexey Dobriyan

After alternatives were shifted to the call site, only 2 headers are necessary.

---

 arch/x86/lib/clear_page_64.S |    2 --
 1 file changed, 2 deletions(-)

arch/x86/lib/clear_page_64.S line 4

Quoted 6 lines
arch/x86/lib/clear_page_64.S +0 -2
@@ -1,6 +1,4 @@
 #include <linux/linkage.h>
-#include <asm/cpufeatures.h>
-#include <asm/alternative-asm.h>
 #include <asm/export.h>
 
 /*
Signature · 5 lines
Regards/Gruss,
    Boris.

SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
-- 
#2 lore raw

[tip:x86/asm] x86/asm: Trim clear_page.S includes

In reply to Alexey Dobriyan
x86/asm: Trim clear_page.S includes
Commit-ID:  16c5055a5ff5e1ff13c5211e44514a2b1d2c1dae
Gitweb:     https://git.kernel.org/tip/16c5055a5ff5e1ff13c5211e44514a2b1d2c1dae
Author:     Alexey Dobriyan <[email protected]>
AuthorDate: Sat, 13 Jan 2018 22:06:48 +0300
Committer:  Ingo Molnar <[email protected]>
CommitDate: Tue, 13 Feb 2018 17:37:07 +0100

x86/asm: Trim clear_page.S includes

After alternatives were shifted to the call site, only 2 headers are necessary.

---
 arch/x86/lib/clear_page_64.S | 2 --
 1 file changed, 2 deletions(-)
arch/x86/lib/clear_page_64.S +0 -2
index 81b1635..88acd34 100644
@@ -1,6 +1,4 @@
 #include <linux/linkage.h>
-#include <asm/cpufeatures.h>
-#include <asm/alternative-asm.h>
 #include <asm/export.h>
 
 /*