[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <201210192039.q9JKdUE5003952@farm-0010.internal.tilera.com>
Date: Fri, 19 Oct 2012 16:29:43 -0400
From: Chris Metcalf <cmetcalf@...era.com>
To: <linux-kernel@...r.kernel.org>,
David Howells <dhowells@...hat.com>,
Sam Ravnborg <sam@...nborg.org>,
Rusty Russell <rusty@...tcorp.com.au>
Subject: [PATCH] arch/tile: avoid build warnings from duplicate ELF_R_xxx #defines
These are now provided in <asm-generic/module.h>, so clean up warning
by not re-defining them in module.c.
Signed-off-by: Chris Metcalf <cmetcalf@...era.com>
---
arch/tile/kernel/module.c | 10 ----------
1 file changed, 10 deletions(-)
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 <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
--
1.7.10.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists