diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2013-05-21 12:58:08 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-05-22 01:34:25 +0200 |
commit | f91a148aa22b3808c12525ccc5779ff0ae6314a4 (patch) | |
tree | 1f18655636fda25335c57c0f8b71499cd1626348 | |
parent | 00baf8576c29c93a470bdfc98a5c121a49c2f34b (diff) | |
download | talos-obmc-linux-f91a148aa22b3808c12525ccc5779ff0ae6314a4.tar.gz talos-obmc-linux-f91a148aa22b3808c12525ccc5779ff0ae6314a4.zip |
MIPS: Idle: Consistently reformat inline assembler.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
-rw-r--r-- | arch/mips/kernel/idle.c | 39 |
1 files changed, 21 insertions, 18 deletions
diff --git a/arch/mips/kernel/idle.c b/arch/mips/kernel/idle.c index 28abda73126a..b33875bf699d 100644 --- a/arch/mips/kernel/idle.c +++ b/arch/mips/kernel/idle.c @@ -57,13 +57,15 @@ void r4k_wait_irqoff(void) { local_irq_disable(); if (!need_resched()) - __asm__(" .set push \n" - " .set mips3 \n" - " wait \n" - " .set pop \n"); + __asm__( + " .set push \n" + " .set mips3 \n" + " wait \n" + " .set pop \n"); local_irq_enable(); - __asm__(" .globl __pastwait \n" - "__pastwait: \n"); + __asm__( + " .globl __pastwait \n" + "__pastwait: \n"); } /* @@ -94,18 +96,19 @@ static void rm7k_wait_irqoff(void) */ static void au1k_wait(void) { - __asm__(" .set mips3 \n" - " cache 0x14, 0(%0) \n" - " cache 0x14, 32(%0) \n" - " sync \n" - " nop \n" - " wait \n" - " nop \n" - " nop \n" - " nop \n" - " nop \n" - " .set mips0 \n" - : : "r" (au1k_wait)); + __asm__( + " .set mips3 \n" + " cache 0x14, 0(%0) \n" + " cache 0x14, 32(%0) \n" + " sync \n" + " nop \n" + " wait \n" + " nop \n" + " nop \n" + " nop \n" + " nop \n" + " .set mips0 \n" + : : "r" (au1k_wait)); } static int __initdata nowait; |