diff options
author | Jan Beulich <JBeulich@suse.com> | 2015-01-23 09:29:50 +0100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2015-02-03 22:35:51 +0100 |
commit | 75aaf4c3e6a4ed48207230cf133a02258ca5abd5 (patch) | |
tree | 4d4eba8a7ead427b30f41b0566838e8ff5b91688 /lib/raid6/recov_avx2.c | |
parent | md/bitmap: fix a might_sleep() warning. (diff) | |
download | linux-75aaf4c3e6a4ed48207230cf133a02258ca5abd5.tar.xz linux-75aaf4c3e6a4ed48207230cf133a02258ca5abd5.zip |
x86/raid6: correctly check for assembler capabilities
Just like for AVX2 (which simply needs an #if -> #ifdef conversion),
SSSE3 assembler support should be checked for before using it.
Signed-off-by: Jan Beulich <jbeulich@suse.com>
Cc: Jim Kukunas <james.t.kukunas@linux.intel.com>
Acked-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'lib/raid6/recov_avx2.c')
-rw-r--r-- | lib/raid6/recov_avx2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/raid6/recov_avx2.c b/lib/raid6/recov_avx2.c index e1eea433a493..53fe3d7bdfb3 100644 --- a/lib/raid6/recov_avx2.c +++ b/lib/raid6/recov_avx2.c @@ -8,7 +8,7 @@ * of the License. */ -#if CONFIG_AS_AVX2 +#ifdef CONFIG_AS_AVX2 #include <linux/raid/pq.h> #include "x86.h" |