diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2018-04-02 17:06:47 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2018-04-02 17:06:47 -0400 |
commit | 5e46caf62d8910f6999fd378b743b9c0e1b21cf9 (patch) | |
tree | e9e7955fab46c552711de9f20e3e33aabbf9b3f2 | |
parent | 2451d1e59d5a154a42bcf02e0bfeebb01d8df1e0 (diff) | |
parent | 16c5055a5ff5e1ff13c5211e44514a2b1d2c1dae (diff) |
Merge branch 'x86-asm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
Pull x86 asm fixlets from Ingo Molnar:
"A clobber list fix and cleanups"
* 'x86-asm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip:
x86/asm: Trim clear_page.S includes
x86/asm: Clobber flags in clear_page()
-rw-r--r-- | arch/x86/include/asm/page_64.h | 2 | ||||
-rw-r--r-- | arch/x86/lib/clear_page_64.S | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/arch/x86/include/asm/page_64.h b/arch/x86/include/asm/page_64.h index d652a3808065..9ca8dae9c716 100644 --- a/arch/x86/include/asm/page_64.h +++ b/arch/x86/include/asm/page_64.h | |||
@@ -47,7 +47,7 @@ static inline void clear_page(void *page) | |||
47 | clear_page_erms, X86_FEATURE_ERMS, | 47 | clear_page_erms, X86_FEATURE_ERMS, |
48 | "=D" (page), | 48 | "=D" (page), |
49 | "0" (page) | 49 | "0" (page) |
50 | : "memory", "rax", "rcx"); | 50 | : "cc", "memory", "rax", "rcx"); |
51 | } | 51 | } |
52 | 52 | ||
53 | void copy_page(void *to, void *from); | 53 | void copy_page(void *to, void *from); |
diff --git a/arch/x86/lib/clear_page_64.S b/arch/x86/lib/clear_page_64.S index 81b1635d67de..88acd349911b 100644 --- a/arch/x86/lib/clear_page_64.S +++ b/arch/x86/lib/clear_page_64.S | |||
@@ -1,6 +1,4 @@ | |||
1 | #include <linux/linkage.h> | 1 | #include <linux/linkage.h> |
2 | #include <asm/cpufeatures.h> | ||
3 | #include <asm/alternative-asm.h> | ||
4 | #include <asm/export.h> | 2 | #include <asm/export.h> |
5 | 3 | ||
6 | /* | 4 | /* |