mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] powerpc: include <linux/stringify.h> to avoid dupulicated defines
@ 2015-01-13  7:02 Masahiro Yamada
  2015-01-13  8:05 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Masahiro Yamada @ 2015-01-13  7:02 UTC (permalink / raw)
  To: barebox

Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
---

 arch/ppc/lib/crtsavres.S | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/arch/ppc/lib/crtsavres.S b/arch/ppc/lib/crtsavres.S
index a764ae4..b0fbbfc 100644
--- a/arch/ppc/lib/crtsavres.S
+++ b/arch/ppc/lib/crtsavres.S
@@ -33,13 +33,11 @@
  *    the executable file might be covered by the GNU General Public License.
  */
 
+#include <linux/stringify.h>
 #include <asm/ppc_asm.tmpl>
 
 #define N_FUN   36
 
-#define __stringify_1(x...)	#x
-#define __stringify(x...)	__stringify_1(x)
-
 #define _GLOBAL(n)	\
 	.text;		\
 	.stabs __stringify(n:F-1),N_FUN,0,0,n;\
-- 
1.9.1


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] powerpc: include <linux/stringify.h> to avoid dupulicated defines
  2015-01-13  7:02 [PATCH] powerpc: include <linux/stringify.h> to avoid dupulicated defines Masahiro Yamada
@ 2015-01-13  8:05 ` Sascha Hauer
  0 siblings, 0 replies; 2+ messages in thread
From: Sascha Hauer @ 2015-01-13  8:05 UTC (permalink / raw)
  To: Masahiro Yamada; +Cc: barebox

On Tue, Jan 13, 2015 at 04:02:30PM +0900, Masahiro Yamada wrote:
> Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
> ---
> 
>  arch/ppc/lib/crtsavres.S | 4 +---
>  1 file changed, 1 insertion(+), 3 deletions(-)

Applied, thanks

Sascha

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-01-13  8:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-13  7:02 [PATCH] powerpc: include <linux/stringify.h> to avoid dupulicated defines Masahiro Yamada
2015-01-13  8:05 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox