Commit c5386c20 authored by Joe Perches's avatar Joe Perches Committed by Ingo Molnar
Browse files

include/asm-x86/system.h: checkpatch cleanups - formatting only



Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
parent 26b7fcc4
Loading
Loading
Loading
Loading
+51 −53
Original line number Diff line number Diff line
@@ -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   */ \
@@ -65,8 +64,7 @@ do { \
		       							\
		       /* regparm parameters for __switch_to(): */	\
		       [prev]     "a" (prev),				\
		  [next]     "d" (next)					\
	);								\
		       [next]     "d" (next));				\
} while (0)

/*
@@ -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;
}

@@ -268,6 +265,7 @@ static inline void native_wbinvd(void)
{
	asm volatile("wbinvd": : :"memory");
}

#ifdef CONFIG_PARAVIRT
#include <asm/paravirt.h>
#else
@@ -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);