Commit f91a148a authored by Ralf Baechle's avatar Ralf Baechle

MIPS: Idle: Consistently reformat inline assembler.

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent 00baf857
......@@ -57,12 +57,14 @@ void r4k_wait_irqoff(void)
{
local_irq_disable();
if (!need_resched())
__asm__(" .set push \n"
__asm__(
" .set push \n"
" .set mips3 \n"
" wait \n"
" .set pop \n");
local_irq_enable();
__asm__(" .globl __pastwait \n"
__asm__(
" .globl __pastwait \n"
"__pastwait: \n");
}
......@@ -94,7 +96,8 @@ static void rm7k_wait_irqoff(void)
*/
static void au1k_wait(void)
{
__asm__(" .set mips3 \n"
__asm__(
" .set mips3 \n"
" cache 0x14, 0(%0) \n"
" cache 0x14, 32(%0) \n"
" sync \n"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment