projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
248bdd5
)
xen: don't bother trying to set cr4
author
Jeremy Fitzhardinge
<
[email protected]
>
Wed, 19 Sep 2007 05:46:33 +0000
(22:46 -0700)
committer
Linus Torvalds
<
[email protected]
>
Wed, 19 Sep 2007 18:24:18 +0000
(11:24 -0700)
Xen ignores all updates to cr4, and some versions will kill the domain if
you try to change its value. Just ignore all changes.
Signed-off-by: Jeremy Fitzhardinge <
[email protected]
>
Cc: Andi Kleen <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
arch/i386/xen/enlighten.c
patch
|
blob
|
history
diff --git
a/arch/i386/xen/enlighten.c
b/arch/i386/xen/enlighten.c
index f0c37511d8da82d6e30650a6d7f0cc6cbd6dd368..f01bfcd4bdee4c63059ff2a2fd9f8ec4b1b0d1e1 100644
(file)
--- a/
arch/i386/xen/enlighten.c
+++ b/
arch/i386/xen/enlighten.c
@@
-623,8
+623,8
@@
static unsigned long xen_read_cr2_direct(void)
static void xen_write_cr4(unsigned long cr4)
{
- /*
never allow TSC to be disabled */
- native_write_cr4(cr4 & ~X86_CR4_TSD);
+ /*
Just ignore cr4 changes; Xen doesn't allow us to do
+ anything anyway. */
}
static unsigned long xen_read_cr3(void)