summaryrefslogtreecommitdiffstats
path: root/arch/parisc/kernel/module.c
diff options
context:
space:
mode:
authorKyle McMartin <kyle@mcmartin.ca>2009-03-15 21:44:25 +0100
committerKyle McMartin <kyle@mcmartin.ca>2009-04-02 06:16:24 +0200
commitbf589a349b9a41ea202ddb8115b18f543b944bfd (patch)
treeb7b629d5f94b331ccf4b7c114c783675696d4dfd /arch/parisc/kernel/module.c
parentparisc: fix build when ARCH_HAS_KMAP (diff)
downloadlinux-bf589a349b9a41ea202ddb8115b18f543b944bfd.tar.xz
linux-bf589a349b9a41ea202ddb8115b18f543b944bfd.zip
parisc: Move kernel Elf_Fdesc define to <asm/elf.h>
elf.h probably won't be exported to userspace, but play it safe and cram it in a #ifdef __KERNEL__ guard. Signed-off-by: Kyle McMartin <kyle@mcmartin.ca>
Diffstat (limited to 'arch/parisc/kernel/module.c')
-rw-r--r--arch/parisc/kernel/module.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/parisc/kernel/module.c b/arch/parisc/kernel/module.c
index 9013243cecca..3439cbd896b5 100644
--- a/arch/parisc/kernel/module.c
+++ b/arch/parisc/kernel/module.c
@@ -115,8 +115,6 @@ struct got_entry {
Elf32_Addr addr;
};
-#define Elf_Fdesc Elf32_Fdesc
-
struct stub_entry {
Elf32_Word insns[2]; /* each stub entry has two insns */
};
@@ -125,8 +123,6 @@ struct got_entry {
Elf64_Addr addr;
};
-#define Elf_Fdesc Elf64_Fdesc
-
struct stub_entry {
Elf64_Word insns[4]; /* each stub entry has four insns */
};