summaryrefslogtreecommitdiff
path: root/src/ram/ramtest.c
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@openbios.org>2004-05-27 11:13:24 +0000
committerStefan Reinauer <stepan@openbios.org>2004-05-27 11:13:24 +0000
commit76712933a0aa6b79095e83f3e08b94f9002736d3 (patch)
treea613f4070e61ecdffd793464dd860e36a3fad861 /src/ram/ramtest.c
parent4bfb1f6ce039e8cd8064fe0afada5114ba77cfd0 (diff)
downloadcoreboot-76712933a0aa6b79095e83f3e08b94f9002736d3.tar.xz
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.c2
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;