aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/processor.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-10-09 03:02:35 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-10-09 03:02:35 -0400
commit1236d6bb6e19fc72ffc6bbcdeb1bfefe450e54ee (patch)
tree47da3feee8e263e8c9352c85cf518e624be3c211 /arch/x86/include/asm/processor.h
parent750b1a6894ecc9b178c6e3d0a1170122971b2036 (diff)
parent8a5776a5f49812d29fe4b2d0a2d71675c3facf3f (diff)
Merge 4.14-rc4 into staging-next
We want the staging/iio fixes in here as well to handle merge issues. Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/x86/include/asm/processor.h')
-rw-r--r--arch/x86/include/asm/processor.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/arch/x86/include/asm/processor.h b/arch/x86/include/asm/processor.h
index 3fa26a61eabc..b390ff76e58f 100644
--- a/arch/x86/include/asm/processor.h
+++ b/arch/x86/include/asm/processor.h
@@ -677,8 +677,6 @@ static inline void sync_core(void)
677 * Like all of Linux's memory ordering operations, this is a 677 * Like all of Linux's memory ordering operations, this is a
678 * compiler barrier as well. 678 * compiler barrier as well.
679 */ 679 */
680 register void *__sp asm(_ASM_SP);
681
682#ifdef CONFIG_X86_32 680#ifdef CONFIG_X86_32
683 asm volatile ( 681 asm volatile (
684 "pushfl\n\t" 682 "pushfl\n\t"
@@ -686,7 +684,7 @@ static inline void sync_core(void)
686 "pushl $1f\n\t" 684 "pushl $1f\n\t"
687 "iret\n\t" 685 "iret\n\t"
688 "1:" 686 "1:"
689 : "+r" (__sp) : : "memory"); 687 : ASM_CALL_CONSTRAINT : : "memory");
690#else 688#else
691 unsigned int tmp; 689 unsigned int tmp;
692 690
@@ -703,7 +701,7 @@ static inline void sync_core(void)
703 "iretq\n\t" 701 "iretq\n\t"
704 UNWIND_HINT_RESTORE 702 UNWIND_HINT_RESTORE
705 "1:" 703 "1:"
706 : "=&r" (tmp), "+r" (__sp) : : "cc", "memory"); 704 : "=&r" (tmp), ASM_CALL_CONSTRAINT : : "cc", "memory");
707#endif 705#endif
708} 706}
709 707