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

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
This commit is contained in:
Joe Perches
2008-03-23 01:02:30 -07:00
committed by Ingo Molnar
parent 3ff3522497
commit cf7f7191cf

View File

@@ -12,25 +12,21 @@ static inline unsigned long native_save_fl(void)
{ {
unsigned long flags; unsigned long flags;
__asm__ __volatile__( asm volatile("# __raw_save_flags\n\t"
"# __raw_save_flags\n\t"
"pushf ; pop %0" "pushf ; pop %0"
: "=g" (flags) : "=g" (flags)
: /* no input */ : /* no input */
: "memory" : "memory");
);
return flags; return flags;
} }
static inline void native_restore_fl(unsigned long flags) static inline void native_restore_fl(unsigned long flags)
{ {
__asm__ __volatile__( asm volatile("push %0 ; popf"
"push %0 ; popf"
: /* no output */ : /* no output */
:"g" (flags) :"g" (flags)
:"memory", "cc" :"memory", "cc");
);
} }
static inline void native_irq_disable(void) static inline void native_irq_disable(void)