projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
72cac21
)
[POWERPC] Remove unnecessary cast in arch_deref_entry_point()
author
Michael Ellerman
<michael@ellerman.id.au>
Fri, 23 May 2008 04:22:21 +0000
(14:22 +1000)
committer
Paul Mackerras
<paulus@samba.org>
Fri, 23 May 2008 05:27:31 +0000
(15:27 +1000)
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>
arch/powerpc/kernel/kprobes.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/kernel/kprobes.c
b/arch/powerpc/kernel/kprobes.c
index c176c513566b3c1a179661bae346142fa5cd4bd0..23545a2f51f34d40c02f44840eb607985c5ddc4c 100644
(file)
--- 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