diff options
author | Shaohua Li <shaohua.li@intel.com> | 2006-06-23 05:04:49 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-23 10:43:00 -0400 |
commit | 55b2355eefc2f160246226d4d69fed431173a4d5 (patch) | |
tree | b5ed6dbf3d045443a12de412f9937a6b8dc20840 /arch/i386/kernel/acpi/wakeup.S | |
parent | 968808b8956e332e556b1eae9b4f7df77518f53b (diff) |
[PATCH] don't use flush_tlb_all in suspend time
flush_tlb_all uses on_each_cpu, which will disable/enable interrupt.
In suspend/resume time, this will make interrupt wrongly enabled.
Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Cc: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/i386/kernel/acpi/wakeup.S')
-rw-r--r-- | arch/i386/kernel/acpi/wakeup.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/i386/kernel/acpi/wakeup.S b/arch/i386/kernel/acpi/wakeup.S index 7c74fe0dc93c..dcb4d3c68ebb 100644 --- a/arch/i386/kernel/acpi/wakeup.S +++ b/arch/i386/kernel/acpi/wakeup.S | |||
@@ -56,7 +56,7 @@ wakeup_code: | |||
56 | 1: | 56 | 1: |
57 | 57 | ||
58 | # set up page table | 58 | # set up page table |
59 | movl $swapper_pg_dir-__PAGE_OFFSET, %eax | 59 | movl $swsusp_pg_dir-__PAGE_OFFSET, %eax |
60 | movl %eax, %cr3 | 60 | movl %eax, %cr3 |
61 | 61 | ||
62 | testl $1, real_efer_save_restore - wakeup_code | 62 | testl $1, real_efer_save_restore - wakeup_code |