aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/include/asm/inst.h
diff options
context:
space:
mode:
authorHuang Ying <ying.huang@intel.com>2010-03-24 09:37:57 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2010-03-24 09:37:57 -0400
commit62e7bec49479e0c61e8cfd914f722a9ca6fd52e5 (patch)
treef75853200b7ceabbf9e4382498cbbfa26730fef8 /arch/x86/include/asm/inst.h
parent80a6d7db9fa06c29c89ccce0374870ac64a81d3f (diff)
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 <akpm@linux-foundation.org> Signed-off-by: Huang Ying <ying.huang@intel.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/x86/include/asm/inst.h')
-rw-r--r--arch/x86/include/asm/inst.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/include/asm/inst.h b/arch/x86/include/asm/inst.h
index 840a399701b2..280bf7fb6aba 100644
--- a/arch/x86/include/asm/inst.h
+++ b/arch/x86/include/asm/inst.h
@@ -120,9 +120,9 @@
120 .macro REG_TYPE type reg 120 .macro REG_TYPE type reg
121 R64_NUM reg_type_r64 \reg 121 R64_NUM reg_type_r64 \reg
122 XMM_NUM reg_type_xmm \reg 122 XMM_NUM reg_type_xmm \reg
123 .if reg_type_r64 != REG_NUM_INVALID 123 .if reg_type_r64 <> REG_NUM_INVALID
124 \type = REG_TYPE_R64 124 \type = REG_TYPE_R64
125 .elseif reg_type_xmm != REG_NUM_INVALID 125 .elseif reg_type_xmm <> REG_NUM_INVALID
126 \type = REG_TYPE_XMM 126 \type = REG_TYPE_XMM
127 .else 127 .else
128 \type = REG_TYPE_INVALID 128 \type = REG_TYPE_INVALID