Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 43004
b: refs/heads/master
c: e2764a1
h: refs/heads/master
v: v3
  • Loading branch information
Alexey Dobriyan authored and Andi Kleen committed Dec 7, 2006
1 parent cf7c019 commit 94336b1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 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: 42ed458aa51337357d7632c64aed4528f923e829
refs/heads/master: e2764a1e306c986053a52b33748c33463cf888de
7 changes: 2 additions & 5 deletions trunk/arch/x86_64/kernel/i387.c
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,8 @@ int save_i387(struct _fpstate __user *buf)
struct task_struct *tsk = current;
int err = 0;

{
extern void bad_user_i387_struct(void);
if (sizeof(struct user_i387_struct) != sizeof(tsk->thread.i387.fxsave))
bad_user_i387_struct();
}
BUILD_BUG_ON(sizeof(struct user_i387_struct) !=
sizeof(tsk->thread.i387.fxsave));

if ((unsigned long)buf % 16)
printk("save_i387: bad fpstate %p\n",buf);
Expand Down

0 comments on commit 94336b1

Please sign in to comment.