mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
[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>
This commit is contained in:
parent
72cac213fd
commit
80d267f9ae
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue