diff options
author | peter <peter@FreeBSD.org> | 2004-06-08 01:35:48 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2004-06-08 01:35:48 +0000 |
commit | 0ef9412643b4766069819fd50232234583dfe026 (patch) | |
tree | c0d5133153b291cc72177fa710a035bc7b9de609 /sys/amd64 | |
parent | 6d14a160e78f9357682cc59deeb17583de95de9d (diff) | |
download | FreeBSD-src-0ef9412643b4766069819fd50232234583dfe026.zip FreeBSD-src-0ef9412643b4766069819fd50232234583dfe026.tar.gz |
Fix my silly typo in asm statement in previous commit.
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/amd64/fpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/amd64/amd64/fpu.c b/sys/amd64/amd64/fpu.c index 0b91603..d002ef0 100644 --- a/sys/amd64/amd64/fpu.c +++ b/sys/amd64/amd64/fpu.c @@ -73,7 +73,7 @@ __FBSDID("$FreeBSD$"); #define fnstsw(addr) __asm __volatile("fnstsw %0" : "=m" (*(addr))) #define fxrstor(addr) __asm("fxrstor %0" : : "m" (*(addr))) #define fxsave(addr) __asm __volatile("fxsave %0" : "=m" (*(addr))) -#define ldmxcsr(r) __asm __volatile("ldmxcsr %0" : "m" (r)) +#define ldmxcsr(r) __asm __volatile("ldmxcsr %0" : : "m" (r)) #define start_emulating() __asm("smsw %%ax; orb %0,%%al; lmsw %%ax" \ : : "n" (CR0_TS) : "ax") #define stop_emulating() __asm("clts") |