summaryrefslogtreecommitdiffstats
path: root/lib/raid6/recov_ssse3.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/raid6/recov_ssse3.c')
-rw-r--r--lib/raid6/recov_ssse3.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/raid6/recov_ssse3.c b/lib/raid6/recov_ssse3.c
index a9168328f03..cda33e56a5e 100644
--- a/lib/raid6/recov_ssse3.c
+++ b/lib/raid6/recov_ssse3.c
@@ -7,6 +7,8 @@
* of the License.
*/
+#ifdef CONFIG_AS_SSSE3
+
#include <linux/raid/pq.h>
#include "x86.h"
@@ -330,3 +332,7 @@ const struct raid6_recov_calls raid6_recov_ssse3 = {
#endif
.priority = 1,
};
+
+#else
+#warning "your version of binutils lacks SSSE3 support"
+#endif