summaryrefslogtreecommitdiffstats
path: root/kernel/arch/powerpc/perf/callchain.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/powerpc/perf/callchain.c')
-rw-r--r--kernel/arch/powerpc/perf/callchain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/arch/powerpc/perf/callchain.c b/kernel/arch/powerpc/perf/callchain.c
index ff09cde20..e04a6752b 100644
--- a/kernel/arch/powerpc/perf/callchain.c
+++ b/kernel/arch/powerpc/perf/callchain.c
@@ -127,7 +127,7 @@ static int read_user_stack_slow(void __user *ptr, void *buf, int nb)
return -EFAULT;
local_irq_save(flags);
- ptep = find_linux_pte_or_hugepte(pgdir, addr, &shift);
+ ptep = find_linux_pte_or_hugepte(pgdir, addr, NULL, &shift);
if (!ptep)
goto err_out;
if (!shift)