summaryrefslogtreecommitdiff
path: root/system/easy-kernel-power8/futex-cmpxchg.patch
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2018-08-31 19:16:14 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-08-31 19:16:14 +0000
commit337e02c6d05938e555aa2f69ca653dabc251e6ff (patch)
treedfedc0cce19dd056da243a6522cf67b3fc8981d8 /system/easy-kernel-power8/futex-cmpxchg.patch
parentc8e3e4ae4e5bcd6ec65eaf7055b38da52a9a56db (diff)
downloadpackages-337e02c6d05938e555aa2f69ca653dabc251e6ff.tar.gz
packages-337e02c6d05938e555aa2f69ca653dabc251e6ff.tar.bz2
packages-337e02c6d05938e555aa2f69ca653dabc251e6ff.tar.xz
packages-337e02c6d05938e555aa2f69ca653dabc251e6ff.zip
system/easy-kernel-power8: select HAVE_FUTEX_CMPXCHG on PowerPC
Diffstat (limited to 'system/easy-kernel-power8/futex-cmpxchg.patch')
-rw-r--r--system/easy-kernel-power8/futex-cmpxchg.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/system/easy-kernel-power8/futex-cmpxchg.patch b/system/easy-kernel-power8/futex-cmpxchg.patch
new file mode 100644
index 000000000..9e2aabfb7
--- /dev/null
+++ b/system/easy-kernel-power8/futex-cmpxchg.patch
@@ -0,0 +1,12 @@
+diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
+index 9f2b75f..d75d8ea 100644
+--- a/arch/powerpc/Kconfig
++++ b/arch/powerpc/Kconfig
+@@ -190,6 +190,7 @@ config PPC
+ select HAVE_FTRACE_MCOUNT_RECORD
+ select HAVE_FUNCTION_GRAPH_TRACER
+ select HAVE_FUNCTION_TRACER
++ select HAVE_FUTEX_CMPXCHG if FUTEX
+ select HAVE_GCC_PLUGINS
+ select HAVE_GENERIC_GUP
+ select HAVE_HW_BREAKPOINT if PERF_EVENTS && (PPC_BOOK3S || PPC_8xx)