summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/sysprof/files/rmb-arm.patch
diff options
context:
space:
mode:
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