summaryrefslogtreecommitdiff
path: root/include/asm-cris/processor.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-cris/processor.h')
-rw-r--r--include/asm-cris/processor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-cris/processor.h b/include/asm-cris/processor.h
index 7fba87a5aa1b..bfa6e9ff3e83 100644
--- a/include/asm-cris/processor.h
+++ b/include/asm-cris/processor.h
@@ -102,7 +102,7 @@ unsigned long get_wchan(struct task_struct *p);
unsigned long eip = 0; \
unsigned long regs = (unsigned long)user_regs(tsk); \
if (regs > PAGE_SIZE && \
- VALID_PAGE(virt_to_page(regs))) \
+ virt_addr_valid(regs)) \
eip = ((struct pt_regs *)regs)->irp; \
eip; })