Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 205478
b: refs/heads/master
c: cfaa71e
h: refs/heads/master
v: v3
  • Loading branch information
Brian Gerst authored and H. Peter Anvin committed Jul 22, 2010
1 parent a681bea commit 66ed437
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8c06585d6431addadd94903843dfbcd315b42d4e
refs/heads/master: cfaa71ee9794472598d3966c3315cd6bd8f953d3
2 changes: 1 addition & 1 deletion trunk/arch/x86/kernel/acpi/realmode/wakeup.S
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ _start:
movl %eax, %ecx
orl %edx, %ecx
jz 1f
movl $0xc0000080, %ecx
movl $MSR_EFER, %ecx
wrmsr
1:

Expand Down
3 changes: 2 additions & 1 deletion trunk/arch/x86/kernel/verify_cpu_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
*/

#include <asm/cpufeature.h>
#include <asm/msr-index.h>

verify_cpu:
pushfl # Save caller passed flags
Expand Down Expand Up @@ -88,7 +89,7 @@ verify_cpu_sse_test:
je verify_cpu_sse_ok
test %di,%di
jz verify_cpu_no_longmode # only try to force SSE on AMD
movl $0xc0010015,%ecx # HWCR
movl $MSR_K7_HWCR,%ecx
rdmsr
btr $15,%eax # enable SSE
wrmsr
Expand Down

0 comments on commit 66ed437

Please sign in to comment.