[PATCH] powerpc: include <linux/stringify.h> to avoid dupulicated defines

Masahiro Yamada yamada.m at jp.panasonic.com
Mon Jan 12 23:02:30 PST 2015


Signed-off-by: Masahiro Yamada <yamada.m at 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




More information about the barebox mailing list