X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=arch%2Farm%2Finclude%2Fasm%2Funified.h;h=b88beaba6b4a5cf9c0ccded73723c4ea41539167;hb=27a84793e42084392181ef2ef51a954f1cf0c519;hp=f5989f46b4d2d450f18b24faa946de750394ec13;hpb=eaed435a7b870a38d89dbdb535c7842d618d3214;p=~andy%2Flinux diff --git a/arch/arm/include/asm/unified.h b/arch/arm/include/asm/unified.h index f5989f46b4d..b88beaba6b4 100644 --- a/arch/arm/include/asm/unified.h +++ b/arch/arm/include/asm/unified.h @@ -38,6 +38,8 @@ #ifdef __ASSEMBLY__ #define W(instr) instr.w #define BSYM(sym) sym + 1 +#else +#define WASM(instr) #instr ".w" #endif #else /* !CONFIG_THUMB2_KERNEL */ @@ -50,6 +52,8 @@ #ifdef __ASSEMBLY__ #define W(instr) instr #define BSYM(sym) sym +#else +#define WASM(instr) #instr #endif #endif /* CONFIG_THUMB2_KERNEL */