[PATCH -mm 3/4] Hibernation: Pass CR3 in the image header on x86_64 (rev. 2)

2007-08-27 Thread Rafael J. Wysocki
From: Rafael J. Wysocki <[EMAIL PROTECTED]> 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.

[PATCH -mm 3/4] Hibernation: Pass CR3 in the image header on x86_64 (rev. 2)

2007-08-27 Thread Rafael J. Wysocki
From: Rafael J. Wysocki [EMAIL PROTECTED] 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.