diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2008-05-23 00:22:21 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-05-23 01:27:31 -0400 |
commit | 80d267f9aee6f1b5df602b5a19fb7b4923f17db2 (patch) | |
tree | a87c88ab8f5d0eeb67f9d036e0e9ec5951626915 /arch/powerpc/kernel/kprobes.c | |
parent | 72cac213fda6a2dd402e91692b70e175795eab7d (diff) |
[POWERPC] Remove unnecessary cast in arch_deref_entry_point()
func_descr_t->entry is already an unsigned long. Mea culpa.
Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/kprobes.c')
-rw-r--r-- | arch/powerpc/kernel/kprobes.c | 2 |
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 |
499 | unsigned long arch_deref_entry_point(void *entry) | 499 | unsigned 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 | ||