summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/sysprof/files/rmb-arm.patch
diff options
context:
space:
mode:
authorJussi Kukkonen <jussi.kukkonen@intel.com>2016-05-04 12:49:28 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-06-15 18:05:24 +0100
commitdda59ddc1c123b8bcfcbc76a41cedf7bb9bf0490 (patch)
treed2726405774a0adc75c4a53ed8fff0647a94d2f5 /meta/recipes-kernel/sysprof/files/rmb-arm.patch
parentc0725452d5d299f4ee7409cf2337ef8b8044fb70 (diff)
downloadpoky-dda59ddc1c123b8bcfcbc76a41cedf7bb9bf0490.tar.gz
sysprof: Upgrade to git version slightly past 3.20
New version uses Gtk+3. 3.20 release requires a bunch of fixes to build without polkit, this git revision inclues those fixes. * Add patch to use proper U64_TO_POINTER macro to fix build on 32 bit platforms. * Forward port memory barrier patches for arm & mips * sysprof builds with loads of warnings and git builds also use -Werror: avoid that by setting "--enable-compile-warnings" (From OE-Core rev: ab2d5e397d30999929108c9d929767205fee9db4) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/sysprof/files/rmb-arm.patch')
-rw-r--r--meta/recipes-kernel/sysprof/files/rmb-arm.patch21
1 files changed, 0 insertions, 21 deletions
diff --git a/meta/recipes-kernel/sysprof/files/rmb-arm.patch b/meta/recipes-kernel/sysprof/files/rmb-arm.patch
deleted file mode 100644
index c53ac6427c..0000000000
--- a/meta/recipes-kernel/sysprof/files/rmb-arm.patch
+++ /dev/null
@@ -1,21 +0,0 @@
1
2Upstream-Status: Pending
3
4Index: git/util.h
5===================================================================
6--- git.orig/util.h 2010-12-07 22:41:57.156243001 -0600
7+++ git/util.h 2010-12-07 22:43:47.616243002 -0600
8@@ -37,4 +37,13 @@
9 #define cpu_relax() asm volatile("" ::: "memory");
10 #endif
11
12+#ifdef __arm__
13+/*
14+ * Use the __kuser_memory_barrier helper in the CPU helper page. See
15+ * arch/arm/kernel/entry-armv.S in the kernel source for details.
16+ */
17+#define rmb() ((void(*)(void))0xffff0fa0)()
18+#define cpu_relax() asm volatile("":::"memory")
19+#endif
20+
21 #endif