aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/arch/x86/include/asm/mmx.h
diff options
context:
space:
mode:
authorPeter Zijlstra <peterz@infradead.org>2021-11-15 17:46:39 +0100
committerPeter Zijlstra <peterz@infradead.org>2021-12-11 09:09:45 +0100
commitc6dbd3e5e69cf3ca47a3864115d4cbdd44619243 (patch)
tree1b0c415e73a50ff8f0e036856c325ceccf0db483 /arch/x86/include/asm/mmx.h
parentbitfield.h: Fix "type of reg too small for mask" test (diff)
downloadwireguard-linux-c6dbd3e5e69cf3ca47a3864115d4cbdd44619243.tar.xz
wireguard-linux-c6dbd3e5e69cf3ca47a3864115d4cbdd44619243.zip
x86/mmx_32: Remove X86_USE_3DNOW
This code puts an exception table entry on the PREFETCH instruction to overwrite it with a JMP.d8 when it triggers an exception. Except of course, our code is no longer writable, also SMP. Instead of fixing this broken mess, simply take it out. Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org> Acked-by: Borislav Petkov <bp@suse.de> Link: https://lkml.kernel.org/r/YZKQzUmeNuwyvZpk@hirez.programming.kicks-ass.net
Diffstat (limited to 'arch/x86/include/asm/mmx.h')
-rw-r--r--arch/x86/include/asm/mmx.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/x86/include/asm/mmx.h b/arch/x86/include/asm/mmx.h
index f572d0f944bb..e69de29bb2d1 100644
--- a/arch/x86/include/asm/mmx.h
+++ b/arch/x86/include/asm/mmx.h
@@ -1,15 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-#ifndef _ASM_X86_MMX_H
-#define _ASM_X86_MMX_H
-
-/*
- * MMX 3Dnow! helper operations
- */
-
-#include <linux/types.h>
-
-extern void *_mmx_memcpy(void *to, const void *from, size_t size);
-extern void mmx_clear_page(void *page);
-extern void mmx_copy_page(void *to, void *from);
-
-#endif /* _ASM_X86_MMX_H */