Commit ca41010b authored by Paul Bakker's avatar Paul Bakker

- Expanded clobber list on i386 RDTSC call

parent 2a1c5f53
......@@ -70,9 +70,9 @@ unsigned long hardclock( void )
unsigned long hardclock( void )
{
unsigned long tsc;
asm( "rdtsc" : "=a" (tsc) );
return( tsc );
unsigned long lo, hi;
asm( "rdtsc" : "=a" (lo), "=d" (hi) );
return( lo );
}
#else
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment