summaryrefslogtreecommitdiffstats
path: root/arch/tile
diff options
context:
space:
mode:
authorChris Metcalf <cmetcalf@tilera.com>2012-10-19 22:29:43 +0200
committerChris Metcalf <cmetcalf@tilera.com>2012-10-23 16:22:48 +0200
commit7805963387ddd7c48bed8c87b6a5de26ac79299f (patch)
tree59a8c1ea34c5c5eafaef6897700d50900640cd49 /arch/tile
parentarch/tile: avoid generating .eh_frame information in modules (diff)
downloadlinux-7805963387ddd7c48bed8c87b6a5de26ac79299f.tar.xz
linux-7805963387ddd7c48bed8c87b6a5de26ac79299f.zip
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/tile')
-rw-r--r--arch/tile/kernel/module.c10
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