Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 78059633 authored by Chris Metcalf's avatar Chris Metcalf
Browse files

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: default avatarChris Metcalf <cmetcalf@tilera.com>
Acked-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent 627072b0
Loading
Loading
Loading
Loading
+0 −10
Original line number Diff line number Diff line
@@ -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