summaryrefslogtreecommitdiffstats
path: root/arch/csky/kernel/perf_callchain.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/csky/kernel/perf_callchain.c')
-rw-r--r--arch/csky/kernel/perf_callchain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/csky/kernel/perf_callchain.c b/arch/csky/kernel/perf_callchain.c
index 92057de08f4f..1612f4354087 100644
--- a/arch/csky/kernel/perf_callchain.c
+++ b/arch/csky/kernel/perf_callchain.c
@@ -49,7 +49,7 @@ static unsigned long user_backtrace(struct perf_callchain_entry_ctx *entry,
{
struct stackframe buftail;
unsigned long lr = 0;
- unsigned long *user_frame_tail = (unsigned long *)fp;
+ unsigned long __user *user_frame_tail = (unsigned long __user *)fp;
/* Check accessibility of one struct frame_tail beyond */
if (!access_ok(user_frame_tail, sizeof(buftail)))