diff options
author | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-03-24 15:59:42 +0000 |
---|---|---|
committer | Niklas Hallqvist <niklas@cvs.openbsd.org> | 1996-03-24 15:59:42 +0000 |
commit | 717f315cc1987a25bd77da42a8403ccf9647b642 (patch) | |
tree | 1d55483bc4b0d2aa06cccd45f6cc49bb844fea10 | |
parent | 2838c4e779076ae9a9bfb13e330566a2ec2f6979 (diff) |
From NetBSD: Add clobbers missing in asm statements
-rw-r--r-- | sys/arch/amiga/amiga/amiga_init.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/amiga/amiga/amiga_init.c b/sys/arch/amiga/amiga/amiga_init.c index 4a8c6b48e69..74298382da4 100644 --- a/sys/arch/amiga/amiga/amiga_init.c +++ b/sys/arch/amiga/amiga/amiga_init.c @@ -1,4 +1,4 @@ -/* $OpenBSD: amiga_init.c,v 1.5 1996/02/26 21:24:51 niklas Exp $ */ +/* $OpenBSD: amiga_init.c,v 1.6 1996/03/24 15:59:41 niklas Exp $ */ /* $NetBSD: amiga_init.c,v 1.35 1996/02/24 07:43:14 chopps Exp $ */ /* @@ -564,9 +564,10 @@ start_c(id, fphystart, fphysize, cphysize, esym_addr, flags, inh_sync) * movec d0,TC */ asm volatile ("movel %0,a0; .word 0x4e7b,0x8807" - : : "a" (Sysseg_pa)); + : : "a" (Sysseg_pa) : "a0"); asm volatile (".word 0xf518" : : ); - asm volatile ("movel #0xc000,d0; .word 0x4e7b,0x0003" : : ); + asm volatile ("movel #0xc000,d0; .word 0x4e7b,0x0003" + : : : "d0"); } else #endif { |