aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc/kernel/module.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/parisc/kernel/module.c')
-rw-r--r--arch/parisc/kernel/module.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/parisc/kernel/module.c b/arch/parisc/kernel/module.c
index 3439cbd896b5..ecd1c5024447 100644
--- a/arch/parisc/kernel/module.c
+++ b/arch/parisc/kernel/module.c
@@ -61,9 +61,7 @@
61#include <linux/string.h> 61#include <linux/string.h>
62#include <linux/kernel.h> 62#include <linux/kernel.h>
63#include <linux/bug.h> 63#include <linux/bug.h>
64#include <linux/uaccess.h>
65 64
66#include <asm/sections.h>
67#include <asm/unwind.h> 65#include <asm/unwind.h>
68 66
69#if 0 67#if 0
@@ -912,15 +910,3 @@ void module_arch_cleanup(struct module *mod)
912 deregister_unwind_table(mod); 910 deregister_unwind_table(mod);
913 module_bug_cleanup(mod); 911 module_bug_cleanup(mod);
914} 912}
915
916#ifdef CONFIG_64BIT
917void *dereference_function_descriptor(void *ptr)
918{
919 Elf64_Fdesc *desc = ptr;
920 void *p;
921
922 if (!probe_kernel_address(&desc->addr, p))
923 ptr = p;
924 return ptr;
925}
926#endif