[PATCH] x86-64: Add EFER to the register set saved by save_processor_state
authorVivek Goyal <vgoyal@in.ibm.com>
Wed, 2 May 2007 17:27:07 +0000 (19:27 +0200)
committerAndi Kleen <andi@basil.nowhere.org>
Wed, 2 May 2007 17:27:07 +0000 (19:27 +0200)
commit3c321bceb4a626639ab43a5a24d884930e511826
treeeba7e14b27ee28bf2b2415fa43563aed9b0538a6
parent30f472895401fbe8e64f861a2569bc9acb098741
[PATCH] x86-64: Add EFER to the register set saved by save_processor_state

EFER varies like %cr4 depending on the cpu capabilities, and which cpu
capabilities we want to make use of.  So save/restore it make certain
we have the same EFER value when we are done.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Vivek Goyal <vgoyal@in.ibm.com>
Signed-off-by: Andi Kleen <ak@suse.de>
arch/x86_64/kernel/suspend.c
include/asm-x86_64/suspend.h