- Expanded clobber list on i386 RDTSC call
This commit is contained in:
parent
2a1c5f5382
commit
ca41010b68
1 changed files with 3 additions and 3 deletions
|
@ -70,9 +70,9 @@ unsigned long hardclock( void )
|
||||||
|
|
||||||
unsigned long hardclock( void )
|
unsigned long hardclock( void )
|
||||||
{
|
{
|
||||||
unsigned long tsc;
|
unsigned long lo, hi;
|
||||||
asm( "rdtsc" : "=a" (tsc) );
|
asm( "rdtsc" : "=a" (lo), "=d" (hi) );
|
||||||
return( tsc );
|
return( lo );
|
||||||
}
|
}
|
||||||
|
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue