From: Hirokazu Takata Date: Sat, 2 May 2009 13:08:33 +0000 (+0900) Subject: m32r: use __stringify() macro in assembler.h X-Git-Tag: v2.6.30-rc5~59^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9cd67243de582c206758adff152c5fcc1b2aa069;p=profile%2Fcommon%2Fkernel-common.git m32r: use __stringify() macro in assembler.h Replace #x with __stringify(x). Also, #ifndef __STR is removed and undefine __STR macro at the beginning. The __STR() macro is still remained, because the assembler.h might be included from assembly codes as well as C codes. Signed-off-by: Hirokazu Takata --- diff --git a/arch/m32r/include/asm/assembler.h b/arch/m32r/include/asm/assembler.h index 2635153..728799f 100644 --- a/arch/m32r/include/asm/assembler.h +++ b/arch/m32r/include/asm/assembler.h @@ -9,14 +9,15 @@ * This file contains M32R architecture specific macro definitions. */ +#include + +#undef __STR -#ifndef __STR #ifdef __ASSEMBLY__ #define __STR(x) x #else -#define __STR(x) #x +#define __STR(x) __stringify(x) #endif -#endif /* __STR */ #ifdef CONFIG_SMP #define M32R_LOCK __STR(lock)