Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 11753
b: refs/heads/master
c: 08967f9
h: refs/heads/master
i:
  11751: 5bc0b7f
v: v3
  • Loading branch information
Shaohua Li authored and Linus Torvalds committed Oct 31, 2005
1 parent 41b4f38 commit 93ae4cd
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 14 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8896fab35e62aa748a5ce62ac773508e51f10be1
refs/heads/master: 08967f941ad897b2f7c2f99e886c75d6319e5087
12 changes: 5 additions & 7 deletions trunk/arch/i386/power/cpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,14 @@ void save_processor_state(void)
__save_processor_state(&saved_context);
}

static void
do_fpu_end(void)
static void do_fpu_end(void)
{
/* restore FPU regs if necessary */
/* Do it out of line so that gcc does not move cr0 load to some stupid place */
kernel_fpu_end();
mxcsr_feature_mask_init();
/*
* Restore FPU regs if necessary.
*/
kernel_fpu_end();
}


static void fix_processor_context(void)
{
int cpu = smp_processor_id();
Expand Down
11 changes: 5 additions & 6 deletions trunk/arch/x86_64/kernel/suspend.c
Original file line number Diff line number Diff line change
Expand Up @@ -63,13 +63,12 @@ void save_processor_state(void)
__save_processor_state(&saved_context);
}

static void
do_fpu_end(void)
static void do_fpu_end(void)
{
/* restore FPU regs if necessary */
/* Do it out of line so that gcc does not move cr0 load to some stupid place */
kernel_fpu_end();
mxcsr_feature_mask_init();
/*
* Restore FPU regs if necessary
*/
kernel_fpu_end();
}

void __restore_processor_state(struct saved_context *ctxt)
Expand Down

0 comments on commit 93ae4cd

Please sign in to comment.