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:
Stefan Reinauer 2004-05-27 11:13:24 +00:00
parent 4bfb1f6ce0
commit 76712933a0
1 changed files with 2 additions and 0 deletions

View File

@ -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;