diff options
Diffstat (limited to 'arch/xtensa/kernel/stacktrace.c')
-rw-r--r-- | arch/xtensa/kernel/stacktrace.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/xtensa/kernel/stacktrace.c b/arch/xtensa/kernel/stacktrace.c index 0df4080fa20f..174c11f13bba 100644 --- a/arch/xtensa/kernel/stacktrace.c +++ b/arch/xtensa/kernel/stacktrace.c | |||
@@ -91,7 +91,7 @@ void xtensa_backtrace_user(struct pt_regs *regs, unsigned int depth, | |||
91 | pc = MAKE_PC_FROM_RA(a0, pc); | 91 | pc = MAKE_PC_FROM_RA(a0, pc); |
92 | 92 | ||
93 | /* Check if the region is OK to access. */ | 93 | /* Check if the region is OK to access. */ |
94 | if (!access_ok(VERIFY_READ, &SPILL_SLOT(a1, 0), 8)) | 94 | if (!access_ok(&SPILL_SLOT(a1, 0), 8)) |
95 | return; | 95 | return; |
96 | /* Copy a1, a0 from user space stack frame. */ | 96 | /* Copy a1, a0 from user space stack frame. */ |
97 | if (__get_user(a0, &SPILL_SLOT(a1, 0)) || | 97 | if (__get_user(a0, &SPILL_SLOT(a1, 0)) || |