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:
@@ -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;
|
||||||
|
Reference in New Issue
Block a user