Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 3374
b: refs/heads/master
c: c7c5844
h: refs/heads/master
v: v3
  • Loading branch information
Domen Puncer authored and Linus Torvalds committed Jun 25, 2005
1 parent 3f242e4 commit eea312b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 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: 77617bd8068470556049ebcdd0625acc7ab71a2b
refs/heads/master: c7c5844526f55b93fc9a44170cb7568c9bc95c4a
4 changes: 2 additions & 2 deletions trunk/arch/i386/mm/fault.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ static int __is_prefetch(struct pt_regs *regs, unsigned long addr)

if (instr > limit)
break;
if (__get_user(opcode, (unsigned char *) instr))
if (__get_user(opcode, (unsigned char __user *) instr))
break;

instr_hi = opcode & 0xf0;
Expand All @@ -173,7 +173,7 @@ static int __is_prefetch(struct pt_regs *regs, unsigned long addr)
scan_more = 0;
if (instr > limit)
break;
if (__get_user(opcode, (unsigned char *) instr))
if (__get_user(opcode, (unsigned char __user *) instr))
break;
prefetch = (instr_lo == 0xF) &&
(opcode == 0x0D || opcode == 0x18);
Expand Down

0 comments on commit eea312b

Please sign in to comment.