diff options
author | Sergio Luis <sergio@larces.uece.br> | 2009-04-28 00:26:50 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rjw@sisk.pl> | 2009-06-12 21:32:30 +0200 |
commit | 833b2ca0795526898a66c7b6770273bb16567e19 (patch) | |
tree | acc8ab4f3d352717a45fc1ee7a2923ef1b99ff79 /arch/x86/power/cpu_64.c | |
parent | f6783d20d4b85b360b4a6f86bdbd9282a4a7004c (diff) |
x86: unify power/cpu_(32|64) global variables
Aiming total unification of cpu_32.c and cpu_64.c, in this step
we do unify the global variables and existing forward declarations
for such files.
Signed-off-by: Sergio Luis <sergio@larces.uece.br>
Signed-off-by: Lauro Salmito <laurosalmito@gmail.com>
Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
Diffstat (limited to 'arch/x86/power/cpu_64.c')
-rw-r--r-- | arch/x86/power/cpu_64.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/x86/power/cpu_64.c b/arch/x86/power/cpu_64.c index 39b27b72e3c5..6ce0eca847c3 100644 --- a/arch/x86/power/cpu_64.c +++ b/arch/x86/power/cpu_64.c @@ -19,9 +19,19 @@ #include <asm/xcr.h> #include <asm/suspend.h> +#ifdef CONFIG_X86_32 +static struct saved_context saved_context; + +unsigned long saved_context_ebx; +unsigned long saved_context_esp, saved_context_ebp; +unsigned long saved_context_esi, saved_context_edi; +unsigned long saved_context_eflags; +#else +/* CONFIG_X86_64 */ static void fix_processor_context(void); struct saved_context saved_context; +#endif /** * __save_processor_state - save CPU registers before creating a |