From a1dfaa7bfac80018221dd2031e02b883c76d7bdb Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 27 Aug 2010 12:03:49 +0000 Subject: main/linux-grsec: fix booting soekris 4801 fix from pipacs. see http://lists.alpinelinux.org/alpine-devel/1029.html --- main/linux-grsec/sync-core.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 main/linux-grsec/sync-core.patch (limited to 'main/linux-grsec/sync-core.patch') diff --git a/main/linux-grsec/sync-core.patch b/main/linux-grsec/sync-core.patch new file mode 100644 index 0000000000..7923983042 --- /dev/null +++ b/main/linux-grsec/sync-core.patch @@ -0,0 +1,13 @@ +--- ./arch/x86/kernel/alternative.c.orig ++++ ./arch/x86/kernel/alternative.c +@@ -500,9 +500,9 @@ + + pax_open_kernel(); + memcpy(ktla_ktva(addr), opcode, len); ++ sync_core(); + pax_close_kernel(); + +- sync_core(); + local_irq_restore(flags); + /* Could also do a CLFLUSH here to speed up CPU recovery; but + that causes hangs on some VIA CPUs. */ -- cgit v1.2.3