Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 148666
b: refs/heads/master
c: 833b2ca
h: refs/heads/master
v: v3
  • Loading branch information
Sergio Luis authored and Rafael J. Wysocki committed Jun 12, 2009
1 parent 26cb8f2 commit 3a65fc3
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: f6783d20d4b85b360b4a6f86bdbd9282a4a7004c
refs/heads/master: 833b2ca0795526898a66c7b6770273bb16567e19
7 changes: 7 additions & 0 deletions trunk/arch/x86/power/cpu_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,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

static void __save_processor_state(struct saved_context *ctxt)
{
Expand Down
10 changes: 10 additions & 0 deletions trunk/arch/x86/power/cpu_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3a65fc3

Please sign in to comment.