diff options
author | Stefan Reinauer <stepan@openbios.org> | 2004-05-27 11:13:24 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2004-05-27 11:13:24 +0000 |
commit | 76712933a0aa6b79095e83f3e08b94f9002736d3 (patch) | |
tree | a613f4070e61ecdffd793464dd860e36a3fad861 /src/ram/ramtest.c | |
parent | 4bfb1f6ce039e8cd8064fe0afada5114ba77cfd0 (diff) |
gcc uses slightly different syntax
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1578 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/ram/ramtest.c')
-rw-r--r-- | src/ram/ramtest.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ram/ramtest.c b/src/ram/ramtest.c index af77fcc386..841b0fe675 100644 --- a/src/ram/ramtest.c +++ b/src/ram/ramtest.c @@ -12,7 +12,9 @@ static void write_phys(unsigned long addr, unsigned long value) "movnti %1, (%0)" : /* outputs */ : "r" (addr), "r" (value) /* inputs */ +#ifndef __GNUC__ : /* clobbers */ +#endif ); #else volatile unsigned long *ptr; |