Skip to contentSkip to conversation

x86/asm changes for v4.17

GIT PULL Ingo Molnar 1 participant 1 message Apr 2, 2018 x86

lore
Share & tools
lore
#0 lore raw

Linus,

Please pull the latest x86-asm-for-linus git tree from:

git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git x86-asm-for-linus

# HEAD: 16c5055a5ff5e1ff13c5211e44514a2b1d2c1dae x86/asm: Trim clear_page.S includes

A clobber list fix and cleanups.

Thanks,

Ingo

------------------>
Alexey Dobriyan (2):
x86/asm: Clobber flags in clear_page()
x86/asm: Trim clear_page.S includes

 arch/x86/include/asm/page_64.h | 2 +-
 arch/x86/lib/clear_page_64.S   | 2 --
 2 files changed, 1 insertion(+), 3 deletions(-)
arch/x86/include/asm/page_64.h +1 -1
index 4baa6bceb232..f8a85c65f150 100644
@@ -47,7 +47,7 @@ static inline void clear_page(void *page)
 			   clear_page_erms, X86_FEATURE_ERMS,
 			   "=D" (page),
 			   "0" (page)
-			   : "memory", "rax", "rcx");
+			   : "cc", "memory", "rax", "rcx");
 }
 
 void copy_page(void *to, void *from);
arch/x86/lib/clear_page_64.S +0 -2
index 81b1635d67de..88acd349911b 100644
@@ -1,6 +1,4 @@
 #include <linux/linkage.h>
-#include <asm/cpufeatures.h>
-#include <asm/alternative-asm.h>
 #include <asm/export.h>
 
 /*