crypto: xor - Check for osxsave as well as avx in crypto/xor
authorJohn Haxby <john.haxby@oracle.com>
Wed, 14 Aug 2013 15:23:18 +0000 (16:23 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 14 Sep 2013 13:54:56 +0000 (06:54 -0700)
commit751190a69d7c885b98716e2aca339f6c4b988704
tree2e69d878b020000016f633993af799453be464a2
parent4c54b9db01842eb0f4eb54af6949b7606ea39e7a
crypto: xor - Check for osxsave as well as avx in crypto/xor

commit edb6f29464afc65fc73767540b854abf63ae7144 upstream.

This affects xen pv guests with sufficiently old versions of xen and
sufficiently new hardware.  On such a system, a guest with a btrfs
root won't even boot.

Signed-off-by: John Haxby <john.haxby@oracle.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Reported-by: Michael Marineau <michael.marineau@coreos.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/include/asm/xor_avx.h