Loading include/asm-x86/system.h +51 −53 Original line number Diff line number Diff line Loading @@ -38,8 +38,7 @@ do { \ */ \ unsigned long ebx, ecx, edx, esi, edi; \ \ asm volatile( \ "pushfl \n\t" /* save flags */ \ asm volatile("pushfl\n\t" /* save flags */ \ "pushl %%ebp\n\t" /* save EBP */ \ "movl %%esp,%[prev_sp]\n\t" /* save ESP */ \ "movl %[next_sp],%%esp\n\t" /* restore ESP */ \ Loading @@ -65,8 +64,7 @@ do { \ \ /* regparm parameters for __switch_to(): */ \ [prev] "a" (prev), \ [next] "d" (next) \ ); \ [next] "d" (next)); \ } while (0) /* Loading Loading @@ -167,8 +165,7 @@ extern void load_gs_index(unsigned); static inline unsigned long get_limit(unsigned long segment) { unsigned long __limit; __asm__("lsll %1,%0" :"=r" (__limit):"r" (segment)); asm("lsll %1,%0" : "=r" (__limit) : "r" (segment)); return __limit + 1; } Loading Loading @@ -268,6 +265,7 @@ static inline void native_wbinvd(void) { asm volatile("wbinvd": : :"memory"); } #ifdef CONFIG_PARAVIRT #include <asm/paravirt.h> #else Loading Loading @@ -300,7 +298,7 @@ static inline void clflush(volatile void *__p) asm volatile("clflush %0" : "+m" (*(volatile char __force *)__p)); } #define nop() __asm__ __volatile__ ("nop") #define nop() asm volatile ("nop") void disable_hlt(void); void enable_hlt(void); Loading Loading
include/asm-x86/system.h +51 −53 Original line number Diff line number Diff line Loading @@ -38,8 +38,7 @@ do { \ */ \ unsigned long ebx, ecx, edx, esi, edi; \ \ asm volatile( \ "pushfl \n\t" /* save flags */ \ asm volatile("pushfl\n\t" /* save flags */ \ "pushl %%ebp\n\t" /* save EBP */ \ "movl %%esp,%[prev_sp]\n\t" /* save ESP */ \ "movl %[next_sp],%%esp\n\t" /* restore ESP */ \ Loading @@ -65,8 +64,7 @@ do { \ \ /* regparm parameters for __switch_to(): */ \ [prev] "a" (prev), \ [next] "d" (next) \ ); \ [next] "d" (next)); \ } while (0) /* Loading Loading @@ -167,8 +165,7 @@ extern void load_gs_index(unsigned); static inline unsigned long get_limit(unsigned long segment) { unsigned long __limit; __asm__("lsll %1,%0" :"=r" (__limit):"r" (segment)); asm("lsll %1,%0" : "=r" (__limit) : "r" (segment)); return __limit + 1; } Loading Loading @@ -268,6 +265,7 @@ static inline void native_wbinvd(void) { asm volatile("wbinvd": : :"memory"); } #ifdef CONFIG_PARAVIRT #include <asm/paravirt.h> #else Loading Loading @@ -300,7 +298,7 @@ static inline void clflush(volatile void *__p) asm volatile("clflush %0" : "+m" (*(volatile char __force *)__p)); } #define nop() __asm__ __volatile__ ("nop") #define nop() asm volatile ("nop") void disable_hlt(void); void enable_hlt(void); Loading