summaryrefslogtreecommitdiffstats
path: root/arch/ppc
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2015-01-13 16:02:30 +0900
committerSascha Hauer <s.hauer@pengutronix.de>2015-01-13 09:04:53 +0100
commit2ead709f52933ab7810f2172bdce32500dc0988d (patch)
tree7b6d395228f6ad47b5f0c2e4736852cdceb57cd9 /arch/ppc
parenta1a582f4e0d51311b3a2fac9b7221be4b20fb9de (diff)
downloadbarebox-2ead709f52933ab7810f2172bdce32500dc0988d.tar.gz
barebox-2ead709f52933ab7810f2172bdce32500dc0988d.tar.xz
powerpc: include <linux/stringify.h> to avoid dupulicated defines
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/ppc')
-rw-r--r--arch/ppc/lib/crtsavres.S4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/ppc/lib/crtsavres.S b/arch/ppc/lib/crtsavres.S
index a764ae4ce6..b0fbbfc997 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;\