projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff4547f
)
[PATCH] swsusp: fix typo in cr0 handling
author
Pavel Machek
<pavel@ucw.cz>
Tue, 23 May 2006 05:35:29 +0000
(22:35 -0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Tue, 23 May 2006 17:35:32 +0000
(10:35 -0700)
Writing cr0 to cr2 register can't be right. This fixes the typo. I wonder
how it could survive so long.
Signed-off-by: Pavel Machek <pavel@suse.cz>
Cc: Zachary Amsden <zach@vmware.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/i386/power/cpu.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/i386/power/cpu.c
b/arch/i386/power/cpu.c
index 50a0bef8c85f691bc135167e595dc5b6521a8ec0..79b2370c7facda90db18255983dc85b58523dab0 100644
(file)
--- a/
arch/i386/power/cpu.c
+++ b/
arch/i386/power/cpu.c
@@
-92,7
+92,7
@@
void __restore_processor_state(struct saved_context *ctxt)
write_cr4(ctxt->cr4);
write_cr3(ctxt->cr3);
write_cr2(ctxt->cr2);
- write_cr
2
(ctxt->cr0);
+ write_cr
0
(ctxt->cr0);
/*
* now restore the descriptor tables to their proper values