Commit e05f1930 authored by Natanael Copa's avatar Natanael Copa
Browse files

main/linux-grsec: fix build on x86

parent baa25bc4
......@@ -18,6 +18,7 @@ install=
source="https://kernel.org/pub/linux/kernel/v4.x/linux-$_kernver.tar.xz
https://kernel.org/pub/linux/kernel/v4.x/patch-$pkgver.xz
http://dev.alpinelinux.org/~ncopa/grsec/grsecurity-3.1-4.9.9-201702122044.patch
pax-cmpxchg8b_emu.patch
config-grsec.x86
config-grsec.x86_64
config-grsec.armhf
......
diff --git a/arch/x86/lib/cmpxchg8b_emu.S b/arch/x86/lib/cmpxchg8b_emu.S
index 34c859b..6793bf2 100644
--- a/arch/x86/lib/cmpxchg8b_emu.S
+++ b/arch/x86/lib/cmpxchg8b_emu.S
@@ -8,6 +8,7 @@
#include <linux/linkage.h>
#include <asm/export.h>
+#include <asm/alternative-asm.h>
.text
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment