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:
Charles E. Youse 2019-07-26 09:53:17 -07:00 committed by Andrew Boie
commit a926fa0a82
3 changed files with 28 additions and 54 deletions

View file

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