- Expanded clobber list on i386 RDTSC call

This commit is contained in:
Paul Bakker 2011-10-19 14:27:36 +00:00
parent 2a1c5f5382
commit ca41010b68

View File

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