diff options
author | Jonas Bonn <jonas@southpole.se> | 2011-06-30 15:22:12 -0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2011-07-24 08:36:04 -0400 |
commit | 66574cc05438dd0907029075d7e6ec5ac0036fbc (patch) | |
tree | 8516792e486a535840e09b67f0831c303df3d45d /arch/parisc | |
parent | 74e08fcf7bef973512a1f813700f802a93678670 (diff) |
modules: make arch's use default loader hooks
This patch removes all the module loader hook implementations in the
architecture specific code where the functionality is the same as that
now provided by the recently added default hooks.
Signed-off-by: Jonas Bonn <jonas@southpole.se>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Tested-by: Michal Simek <monstr@monstr.eu>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'arch/parisc')
-rw-r--r-- | arch/parisc/kernel/module.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/arch/parisc/kernel/module.c b/arch/parisc/kernel/module.c index cedbbb8b18d9..5e34ccf39a49 100644 --- a/arch/parisc/kernel/module.c +++ b/arch/parisc/kernel/module.c | |||
@@ -540,18 +540,6 @@ static Elf_Addr get_stub(struct module *me, unsigned long value, long addend, | |||
540 | return (Elf_Addr)stub; | 540 | return (Elf_Addr)stub; |
541 | } | 541 | } |
542 | 542 | ||
543 | int apply_relocate(Elf_Shdr *sechdrs, | ||
544 | const char *strtab, | ||
545 | unsigned int symindex, | ||
546 | unsigned int relsec, | ||
547 | struct module *me) | ||
548 | { | ||
549 | /* parisc should not need this ... */ | ||
550 | printk(KERN_ERR "module %s: RELOCATION unsupported\n", | ||
551 | me->name); | ||
552 | return -ENOEXEC; | ||
553 | } | ||
554 | |||
555 | #ifndef CONFIG_64BIT | 543 | #ifndef CONFIG_64BIT |
556 | int apply_relocate_add(Elf_Shdr *sechdrs, | 544 | int apply_relocate_add(Elf_Shdr *sechdrs, |
557 | const char *strtab, | 545 | const char *strtab, |