diff options
author | Rafael J. Wysocki <rjw@sisk.pl> | 2007-10-18 06:04:54 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-10-18 17:37:19 -0400 |
commit | c30bb68c26ad7e9277f2d1dfed8347f329e1cf27 (patch) | |
tree | 6609a9a69446f58d076dadd452b250db732be47b /arch/x86/kernel/smp_32.c | |
parent | d158cbdf39ffaec9dd5299fdfdfdd2c7897a71dc (diff) |
Hibernation: Pass CR3 in the image header on x86_64
Since we already pass the address of restore_registers() in the image header,
we can also pass the value of the CR3 register from before the hibernation in
the same way. This will allow us to avoid using init_level4_pgt page tables
during the restore.
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Acked-by: Pavel Machek <pavel@ucw.cz>
Cc: Andi Kleen <ak@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/x86/kernel/smp_32.c')
0 files changed, 0 insertions, 0 deletions