summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/xor.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/include/asm/xor.h')
-rw-r--r--arch/x86/include/asm/xor.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/include/asm/xor.h b/arch/x86/include/asm/xor.h
index 11b3bb86e17..7fcf6f3dbcc 100644
--- a/arch/x86/include/asm/xor.h
+++ b/arch/x86/include/asm/xor.h
@@ -1,5 +1,10 @@
+#ifdef CONFIG_KMEMCHECK
+/* kmemcheck doesn't handle MMX/SSE/SSE2 instructions */
+# include <asm-generic/xor.h>
+#else
#ifdef CONFIG_X86_32
# include "xor_32.h"
#else
# include "xor_64.h"
#endif
+#endif