From: Huang Ying Date: Wed, 24 Mar 2010 13:37:57 +0000 (+0800) Subject: crypto: aesni-intel - Fix another CTR build failure with gas 2.16.1 X-Git-Tag: v2.6.35-rc1~446^2~40 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=62e7bec49479e0c61e8cfd914f722a9ca6fd52e5;p=platform%2Fkernel%2Flinux-stable.git crypto: aesni-intel - Fix another CTR build failure with gas 2.16.1 The previous AES-NI CTR optimization compiling failure gas 2.16.1 fix introduces another compiling failure by itself. This patch fixes that. Reported-by: Andrew Morton Signed-off-by: Huang Ying Signed-off-by: Herbert Xu --- diff --git a/arch/x86/include/asm/inst.h b/arch/x86/include/asm/inst.h index 840a399..280bf7f 100644 --- a/arch/x86/include/asm/inst.h +++ b/arch/x86/include/asm/inst.h @@ -120,9 +120,9 @@ .macro REG_TYPE type reg R64_NUM reg_type_r64 \reg XMM_NUM reg_type_xmm \reg - .if reg_type_r64 != REG_NUM_INVALID + .if reg_type_r64 <> REG_NUM_INVALID \type = REG_TYPE_R64 - .elseif reg_type_xmm != REG_NUM_INVALID + .elseif reg_type_xmm <> REG_NUM_INVALID \type = REG_TYPE_XMM .else \type = REG_TYPE_INVALID