arch/x86: clean up inline assembly format
Not sure why these were formatted the way they were, but I've removed unnecessary line breaks, embedded control characters (actual embedded tabs, not escape sequences) and escape sequences. No functional change. Signed-off-by: Charles E. Youse <charles.youse@intel.com>
This commit is contained in:
parent
d506489999
commit
a926fa0a82
3 changed files with 28 additions and 54 deletions
|
@ -343,14 +343,7 @@ static ALWAYS_INLINE unsigned int z_arch_irq_lock(void)
|
|||
{
|
||||
unsigned int key;
|
||||
|
||||
__asm__ volatile (
|
||||
"pushfl;\n\t"
|
||||
"cli;\n\t"
|
||||
"popl %0;\n\t"
|
||||
: "=g" (key)
|
||||
:
|
||||
: "memory"
|
||||
);
|
||||
__asm__ volatile ("pushfl; cli; popl %0" : "=g" (key) :: "memory");
|
||||
|
||||
return key;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue