summaryrefslogtreecommitdiffstats
path: root/meta/recipes-kernel/lttng/fix-powerpc64.patch
diff options
context:
space:
mode:
authorMatthew McClintock <msm@freescale.com>2011-09-29 14:08:04 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-10-04 13:46:24 +0100
commit2708ce6c824f755e1581365e42f60f7ae7fcf771 (patch)
tree89e4aa085a6f970af35af9312f5d82e5db0a7907 /meta/recipes-kernel/lttng/fix-powerpc64.patch
parent9493ccf0651d031e3f6fe8d27c2884608a10758e (diff)
downloadpoky-2708ce6c824f755e1581365e42f60f7ae7fcf771.tar.gz
Fix lttng-ust for powerpc64
(From OE-Core rev: a75683a815343a481b3612c35e1ab79071343187) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/lttng/fix-powerpc64.patch')
-rw-r--r--meta/recipes-kernel/lttng/fix-powerpc64.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/meta/recipes-kernel/lttng/fix-powerpc64.patch b/meta/recipes-kernel/lttng/fix-powerpc64.patch
new file mode 100644
index 0000000000..3c3484c678
--- /dev/null
+++ b/meta/recipes-kernel/lttng/fix-powerpc64.patch
@@ -0,0 +1,17 @@
1Upstream-Status: Submitted
2
3Add bit to detect if we are running on powerpc64 and treat it the
4same as ppc64
5
6Index: ust-0.15/configure.ac
7===================================================================
8--- ust-0.15.orig/configure.ac
9+++ ust-0.15/configure.ac
10@@ -111,6 +111,7 @@ changequote([,])dnl
11 x86_64) LIBFORMAT="elf64-x86-64" ;;
12 powerpc) LIBFORMAT="elf32-powerpc" ;;
13 ppc64) LIBFORMAT="elf64-powerpc" ;;
14+ powerpc64) LIBFORMAT="elf64-powerpc" ;;
15 s390) LIBFORMAT="elf32-s390" ;;
16 s390x) LIBFORMAT="elf64-s390" ;;
17 armv5) LIBFORMAT="elf32-littlearm"; NO_UNALIGNED_ACCESS=1 ;;