Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 202289
b: refs/heads/master
c: 5ee481d
h: refs/heads/master
i:
  202287: d402902
v: v3
  • Loading branch information
Sheng Yang authored and Avi Kivity committed Aug 1, 2010
1 parent 55d6049 commit a9e4c70
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 2 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: 93736624635235cc5372ffca6d62816d02170724
refs/heads/master: 5ee481da7b62a992b91f958bf26aaaa92354c170
2 changes: 2 additions & 0 deletions trunk/arch/x86/include/asm/i387.h
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,8 @@ static inline void fpu_copy(struct fpu *dst, struct fpu *src)
memcpy(dst->state, src->state, xstate_size);
}

extern void fpu_finit(struct fpu *fpu);

#endif /* __ASSEMBLY__ */

#define PSHUFB_XMM5_XMM0 .byte 0x66, 0x0f, 0x38, 0x00, 0xc5
Expand Down
3 changes: 3 additions & 0 deletions trunk/arch/x86/include/asm/xsave.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@

#define FXSAVE_SIZE 512

#define XSTATE_YMM_SIZE 256
#define XSTATE_YMM_OFFSET (512 + 64)

/*
* These are the features that the OS can handle currently.
*/
Expand Down
3 changes: 2 additions & 1 deletion trunk/arch/x86/kernel/i387.c
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ void __cpuinit fpu_init(void)
}
#endif /* CONFIG_X86_64 */

static void fpu_finit(struct fpu *fpu)
void fpu_finit(struct fpu *fpu)
{
#ifdef CONFIG_X86_32
if (!HAVE_HWFP) {
Expand All @@ -132,6 +132,7 @@ static void fpu_finit(struct fpu *fpu)
fp->fos = 0xffff0000u;
}
}
EXPORT_SYMBOL_GPL(fpu_finit);

/*
* The _current_ task is using the FPU for the first time
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/x86/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ unsigned long idle_nomwait;
EXPORT_SYMBOL(idle_nomwait);

struct kmem_cache *task_xstate_cachep;
EXPORT_SYMBOL_GPL(task_xstate_cachep);

int arch_dup_task_struct(struct task_struct *dst, struct task_struct *src)
{
Expand Down

0 comments on commit a9e4c70

Please sign in to comment.