X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=arch%2Farm%2Finclude%2Fasm%2Funified.h;h=b88beaba6b4a5cf9c0ccded73723c4ea41539167;hb=27a84793e42084392181ef2ef51a954f1cf0c519;hp=f5989f46b4d2d450f18b24faa946de750394ec13;hpb=2416dc85107bf862acde82ffb8b0c86193487fd5;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 */