From: Chris Metcalf Date: Fri, 19 Oct 2012 20:29:43 +0000 (-0400) Subject: arch/tile: avoid build warnings from duplicate ELF_R_xxx #defines X-Git-Tag: v5.15~21361^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7805963387ddd7c48bed8c87b6a5de26ac79299f;p=platform%2Fkernel%2Flinux-starfive.git arch/tile: avoid build warnings from duplicate ELF_R_xxx #defines These are now provided in , so clean up warnings by not re-defining them in module.c. Signed-off-by: Chris Metcalf Acked-by: Rusty Russell --- diff --git a/arch/tile/kernel/module.c b/arch/tile/kernel/module.c index 001cbfa..243ffeb 100644 --- a/arch/tile/kernel/module.c +++ b/arch/tile/kernel/module.c @@ -24,16 +24,6 @@ #include #include -#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