Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 191507
b: refs/heads/master
c: c3f8978
h: refs/heads/master
i:
  191505: e445e83
  191503: 959c5a3
v: v3
  • Loading branch information
H. Peter Anvin committed May 10, 2010
1 parent 19b8a0b commit 340cf85
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 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: 86603283326c9e95e5ad4e9fdddeec93cac5d9ad
refs/heads/master: c3f8978ea332cd4be88e12574452a025892ac9af
2 changes: 1 addition & 1 deletion trunk/arch/x86/math-emu/fpu_aux.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ void finit_soft_fpu(struct i387_soft_struct *soft)

void finit(void)
{
finit_task(&current->thread.fpu);
finit_soft_fpu(&current->thread.fpu.state->soft);
}

/*
Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/x86/math-emu/fpu_entry.c
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ int fpregs_soft_set(struct task_struct *target,
unsigned int pos, unsigned int count,
const void *kbuf, const void __user *ubuf)
{
struct i387_soft_struct *s387 = &target->thread.xstate->soft;
struct i387_soft_struct *s387 = &target->thread.fpu.state->soft;
void *space = s387->st_space;
int ret;
int offset, other, i, tags, regnr, tag, newtop;
Expand Down Expand Up @@ -733,7 +733,7 @@ int fpregs_soft_get(struct task_struct *target,
unsigned int pos, unsigned int count,
void *kbuf, void __user *ubuf)
{
struct i387_soft_struct *s387 = &target->thread.xstate->soft;
struct i387_soft_struct *s387 = &target->thread.fpu.state->soft;
const void *space = s387->st_space;
int ret;
int offset = (S387->ftop & 7) * 10, other = 80 - offset;
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/x86/math-emu/fpu_system.h
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
#define SEG_EXPAND_DOWN(s) (((s).b & ((1 << 11) | (1 << 10))) \
== (1 << 10))

#define I387 (current->thread.xstate)
#define I387 (current->thread.fpu.state)
#define FPU_info (I387->soft.info)

#define FPU_CS (*(unsigned short *) &(FPU_info->regs->cs))
Expand Down

0 comments on commit 340cf85

Please sign in to comment.