summaryrefslogtreecommitdiff
path: root/system/easy-kernel/futex-cmpxchg.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-09-27 02:09:02 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-09-27 02:09:02 +0000
commitf705db8c461aed684112dc535597631489f4f72a (patch)
treefd9896154177c58c6f5dd009f3b2eae64ae05754 /system/easy-kernel/futex-cmpxchg.patch
parentfe4fc9839de44f565b5a6b91f782f55f8b22ce93 (diff)
downloadpackages-f705db8c461aed684112dc535597631489f4f72a.tar.gz
packages-f705db8c461aed684112dc535597631489f4f72a.tar.bz2
packages-f705db8c461aed684112dc535597631489f4f72a.tar.xz
packages-f705db8c461aed684112dc535597631489f4f72a.zip
system/easy-kernel: fix futex on pre-P8 PPC64
Diffstat (limited to 'system/easy-kernel/futex-cmpxchg.patch')
-rw-r--r--system/easy-kernel/futex-cmpxchg.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/system/easy-kernel/futex-cmpxchg.patch b/system/easy-kernel/futex-cmpxchg.patch
new file mode 100644
index 000000000..9e2aabfb7
--- /dev/null
+++ b/system/easy-kernel/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)