aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/powerpc/kernel/kprobes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/powerpc/kernel/kprobes.c b/arch/powerpc/kernel/kprobes.c
index c176c513566b..23545a2f51f3 100644
--- a/arch/powerpc/kernel/kprobes.c
+++ b/arch/powerpc/kernel/kprobes.c
@@ -498,7 +498,7 @@ int __kprobes kprobe_exceptions_notify(struct notifier_block *self,
498#ifdef CONFIG_PPC64 498#ifdef CONFIG_PPC64
499unsigned long arch_deref_entry_point(void *entry) 499unsigned long arch_deref_entry_point(void *entry)
500{ 500{
501 return (unsigned long)(((func_descr_t *)entry)->entry); 501 return ((func_descr_t *)entry)->entry;
502} 502}
503#endif 503#endif
504 504