From: Rafael J. Wysocki Date: Thu, 18 Oct 2007 10:04:54 +0000 (-0700) Subject: Hibernation: Pass CR3 in the image header on x86_64 X-Git-Tag: v2.6.24-rc1~421 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c30bb68c26ad7e9277f2d1dfed8347f329e1cf27;p=pandora-kernel.git 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 Acked-by: Pavel Machek Cc: Andi Kleen Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed