|
@@ -148,7 +148,7 @@ is_prefetch(struct pt_regs *regs, unsigned long error_code, unsigned long addr)
|
|
instr = (void *)convert_ip_to_linear(current, regs);
|
|
instr = (void *)convert_ip_to_linear(current, regs);
|
|
max_instr = instr + 15;
|
|
max_instr = instr + 15;
|
|
|
|
|
|
- if (user_mode(regs) && instr >= (unsigned char *)TASK_SIZE)
|
|
|
|
|
|
+ if (user_mode(regs) && instr >= (unsigned char *)TASK_SIZE_MAX)
|
|
return 0;
|
|
return 0;
|
|
|
|
|
|
while (instr < max_instr) {
|
|
while (instr < max_instr) {
|