]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: aesni-intel - Use gas macro for AES-NI instructions
authorHuang Ying <ying.huang@intel.com>
Mon, 23 Nov 2009 11:54:06 +0000 (19:54 +0800)
committerHerbert Xu <herbert@gondor.apana.org.au>
Mon, 23 Nov 2009 11:54:06 +0000 (19:54 +0800)
commit5d903caf523daad929b21f02f536676996873602
treecedf1e4f1287c441d1afc29efd45c0f02f21c761
parentd1b216cd04bff4eae5276a1fb7b20e13f1c402cc
crypto: aesni-intel - Use gas macro for AES-NI instructions

Old binutils do not support AES-NI instructions, to make kernel can be
compiled by them, .byte code is used instead of AES-NI assembly
instructions. But the readability and flexibility of raw .byte code is
not good.

So corresponding assembly instruction like gas macro is used instead.

Signed-off-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
arch/x86/crypto/aesni-intel_asm.S