summaryrefslogtreecommitdiffstats
path: root/arch/m68knommu
diff options
context:
space:
mode:
authorGreg Ungerer <gerg@snapgear.com>2006-06-28 16:23:14 +1000
committerLinus Torvalds <torvalds@g5.osdl.org>2006-06-28 15:03:47 -0700
commit3448ff8967a00067cbc3b6ebe9a3741b4e72f6d0 (patch)
tree3937e24ce189060c0760c978b2b91421fda79300 /arch/m68knommu
parent69614fc66a11222baf61e05a3e5b98ef2e3427be (diff)
downloadop-kernel-dev-3448ff8967a00067cbc3b6ebe9a3741b4e72f6d0.zip
op-kernel-dev-3448ff8967a00067cbc3b6ebe9a3741b4e72f6d0.tar.gz
[PATCH] m68knommu: fix 68EZ328/config.c asm
Fix 68EZ328/config.c asm to be clean for new gcc versions. Signed-off-by: Greg Ungerer <gerg@uclinux.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/m68knommu')
-rw-r--r--arch/m68knommu/platform/68EZ328/config.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/m68knommu/platform/68EZ328/config.c b/arch/m68knommu/platform/68EZ328/config.c
index d8d56e5..15a14a6 100644
--- a/arch/m68knommu/platform/68EZ328/config.c
+++ b/arch/m68knommu/platform/68EZ328/config.c
@@ -42,13 +42,13 @@ void m68328_timer_gettod(int *year, int *mon, int *day, int *hour, int *min, int
void m68ez328_reset(void)
{
local_irq_disable();
- asm volatile ("
- moveal #0x10c00000, %a0;
- moveb #0, 0xFFFFF300;
- moveal 0(%a0), %sp;
- moveal 4(%a0), %a0;
- jmp (%a0);
- ");
+ asm volatile (
+ "moveal #0x10c00000, %a0;\n"
+ "moveb #0, 0xFFFFF300;\n"
+ "moveal 0(%a0), %sp;\n"
+ "moveal 4(%a0), %a0;\n"
+ "jmp (%a0);\n"
+ );
}
/***************************************************************************/
OpenPOWER on IntegriCloud