gcc uses slightly different syntax
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@1578 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
This commit is contained in:
parent
4bfb1f6ce0
commit
76712933a0
|
@ -12,7 +12,9 @@ static void write_phys(unsigned long addr, unsigned long value)
|
||||||
"movnti %1, (%0)"
|
"movnti %1, (%0)"
|
||||||
: /* outputs */
|
: /* outputs */
|
||||||
: "r" (addr), "r" (value) /* inputs */
|
: "r" (addr), "r" (value) /* inputs */
|
||||||
|
#ifndef __GNUC__
|
||||||
: /* clobbers */
|
: /* clobbers */
|
||||||
|
#endif
|
||||||
);
|
);
|
||||||
#else
|
#else
|
||||||
volatile unsigned long *ptr;
|
volatile unsigned long *ptr;
|
||||||
|
|
Loading…
Reference in New Issue