diff options
author | Kyle McMartin <kyle@mcmartin.ca> | 2009-03-15 16:44:25 -0400 |
---|---|---|
committer | Kyle McMartin <kyle@mcmartin.ca> | 2009-04-02 00:16:24 -0400 |
commit | bf589a349b9a41ea202ddb8115b18f543b944bfd (patch) | |
tree | b7b629d5f94b331ccf4b7c114c783675696d4dfd /arch/parisc/kernel | |
parent | bb7350194130ae6bd3fdec16fe1b7597c1c0bb8d (diff) |
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')
-rw-r--r-- | arch/parisc/kernel/module.c | 4 |
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 { | |||
115 | Elf32_Addr addr; | 115 | Elf32_Addr addr; |
116 | }; | 116 | }; |
117 | 117 | ||
118 | #define Elf_Fdesc Elf32_Fdesc | ||
119 | |||
120 | struct stub_entry { | 118 | struct stub_entry { |
121 | Elf32_Word insns[2]; /* each stub entry has two insns */ | 119 | Elf32_Word insns[2]; /* each stub entry has two insns */ |
122 | }; | 120 | }; |
@@ -125,8 +123,6 @@ struct got_entry { | |||
125 | Elf64_Addr addr; | 123 | Elf64_Addr addr; |
126 | }; | 124 | }; |
127 | 125 | ||
128 | #define Elf_Fdesc Elf64_Fdesc | ||
129 | |||
130 | struct stub_entry { | 126 | struct stub_entry { |
131 | Elf64_Word insns[4]; /* each stub entry has four insns */ | 127 | Elf64_Word insns[4]; /* each stub entry has four insns */ |
132 | }; | 128 | }; |