diff options
author | Michael Ellerman <michael@ellerman.id.au> | 2008-05-23 06:22:21 +0200 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-05-23 07:27:31 +0200 |
commit | 80d267f9aee6f1b5df602b5a19fb7b4923f17db2 (patch) | |
tree | a87c88ab8f5d0eeb67f9d036e0e9ec5951626915 /arch/powerpc/kernel/kprobes.c | |
parent | [POWERPC] Add debugging trigger to Axon MSI code (diff) | |
download | linux-80d267f9aee6f1b5df602b5a19fb7b4923f17db2.tar.xz linux-80d267f9aee6f1b5df602b5a19fb7b4923f17db2.zip |
[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, #ifdef CONFIG_PPC64 unsigned long arch_deref_entry_point(void *entry) { - return (unsigned long)(((func_descr_t *)entry)->entry); + return ((func_descr_t *)entry)->entry; } #endif |