diff options
author | Chris Metcalf <cmetcalf@tilera.com> | 2012-10-19 16:29:43 -0400 |
---|---|---|
committer | Chris Metcalf <cmetcalf@tilera.com> | 2012-10-23 10:22:48 -0400 |
commit | 7805963387ddd7c48bed8c87b6a5de26ac79299f (patch) | |
tree | 59a8c1ea34c5c5eafaef6897700d50900640cd49 /arch | |
parent | 627072b06c362bbe7dc256f618aaa63351f0cfe6 (diff) | |
download | linux-7805963387ddd7c48bed8c87b6a5de26ac79299f.tar.bz2 |
arch/tile: avoid build warnings from duplicate ELF_R_xxx #defines
These are now provided in <asm-generic/module.h>, so clean up warnings
by not re-defining them in module.c.
Signed-off-by: Chris Metcalf <cmetcalf@tilera.com>
Acked-by: Rusty Russell <rusty@rustcorp.com.au>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/tile/kernel/module.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/tile/kernel/module.c b/arch/tile/kernel/module.c index 001cbfa10ac6..243ffebe38d6 100644 --- a/arch/tile/kernel/module.c +++ b/arch/tile/kernel/module.c @@ -24,16 +24,6 @@ #include <asm/homecache.h> #include <arch/opcode.h> -#ifdef __tilegx__ -# define Elf_Rela Elf64_Rela -# define ELF_R_SYM ELF64_R_SYM -# define ELF_R_TYPE ELF64_R_TYPE -#else -# define Elf_Rela Elf32_Rela -# define ELF_R_SYM ELF32_R_SYM -# define ELF_R_TYPE ELF32_R_TYPE -#endif - #ifdef MODULE_DEBUG #define DEBUGP printk #else |