* [PATCH] arch/tile: avoid build warnings from duplicate ELF_R_xxx #defines
@ 2012-10-19 20:29 Chris Metcalf
2012-10-22 3:16 ` Rusty Russell
0 siblings, 1 reply; 3+ messages in thread
From: Chris Metcalf @ 2012-10-19 20:29 UTC (permalink / raw)
To: linux-kernel, David Howells, Sam Ravnborg, Rusty Russell
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@tilera.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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] arch/tile: avoid build warnings from duplicate ELF_R_xxx #defines
2012-10-19 20:29 [PATCH] arch/tile: avoid build warnings from duplicate ELF_R_xxx #defines Chris Metcalf
@ 2012-10-22 3:16 ` Rusty Russell
2012-10-23 14:09 ` Chris Metcalf
0 siblings, 1 reply; 3+ messages in thread
From: Rusty Russell @ 2012-10-22 3:16 UTC (permalink / raw)
To: Chris Metcalf, linux-kernel, David Howells, Sam Ravnborg
Chris Metcalf <cmetcalf@tilera.com> writes:
> 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@tilera.com>
This change was in linux-next for quite a while, BTW, so there would
have been over a month of warnings...
Acked-by: Rusty Russell <rusty@rustcorp.com.au>
Cheers,
Rusty.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] arch/tile: avoid build warnings from duplicate ELF_R_xxx #defines
2012-10-22 3:16 ` Rusty Russell
@ 2012-10-23 14:09 ` Chris Metcalf
0 siblings, 0 replies; 3+ messages in thread
From: Chris Metcalf @ 2012-10-23 14:09 UTC (permalink / raw)
To: Rusty Russell; +Cc: linux-kernel, David Howells, Sam Ravnborg
On 10/21/2012 11:16 PM, Rusty Russell wrote:
> Chris Metcalf <cmetcalf@tilera.com> writes:
>
>> 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@tilera.com>
> This change was in linux-next for quite a while, BTW, so there would
> have been over a month of warnings...
>
> Acked-by: Rusty Russell <rusty@rustcorp.com.au>
Thanks. Yes, I don't always drill into the results of the builds at
http://kisskb.ellerman.id.au/kisskb/matrix/, but just go by the "Build OK"
green light. I'll remember to keep looking at the details more frequently :-)
--
Chris Metcalf, Tilera Corp.
http://www.tilera.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-10-23 14:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-19 20:29 [PATCH] arch/tile: avoid build warnings from duplicate ELF_R_xxx #defines Chris Metcalf
2012-10-22 3:16 ` Rusty Russell
2012-10-23 14:09 ` Chris Metcalf
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.