[oe-commits] org.oe.dev Make 2.6.25omap1 build with gcc 4.3
khem commit
oe at amethyst.openembedded.net
Mon Sep 1 18:19:59 UTC 2008
Make 2.6.25omap1 build with gcc 4.3
Booted the kernel on osk5912
Author: khem at openembedded.org
Branch: org.openembedded.dev
Revision: db5edf1d33af46eb85f6703cd580fdbf069f719f
ViewMTN: http://monotone.openembedded.org/revision/info/db5edf1d33af46eb85f6703cd580fdbf069f719f
Files:
1
packages/linux/linux-omap1-2.6.25-omap1/gcc43-arm-fix-inline-asm-constraints-for-preload.patch
packages/linux/linux-omap1_2.6.25-omap1.bb
Diffs:
#
# mt diff -r4ce8b0e2eb5e8b07a54fe27fc7f1a050c1d2b006 -rdb5edf1d33af46eb85f6703cd580fdbf069f719f
#
#
#
# add_file "packages/linux/linux-omap1-2.6.25-omap1/gcc43-arm-fix-inline-asm-constraints-for-preload.patch"
# content [da11ec96ce0bd42db518ab141ed1ff7dbccfe0a3]
#
# patch "packages/linux/linux-omap1_2.6.25-omap1.bb"
# from [3f880506329a1054b2ab693fa4e90e4dff2d5b70]
# to [f27db9a98ec009c2446ac19132c9e5da02d6b232]
#
============================================================
--- packages/linux/linux-omap1-2.6.25-omap1/gcc43-arm-fix-inline-asm-constraints-for-preload.patch da11ec96ce0bd42db518ab141ed1ff7dbccfe0a3
+++ packages/linux/linux-omap1-2.6.25-omap1/gcc43-arm-fix-inline-asm-constraints-for-preload.patch da11ec96ce0bd42db518ab141ed1ff7dbccfe0a3
@@ -0,0 +1,22 @@
+Source:
+http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=5196/1
+
+Description:
+This patch is already submitted upstream. So it will not be needed in 2.6.27 onwards I guess but anyone interested in compiling prior versions of kernels with gcc 4.3 for ARM would need this patch.
+
+diff --git a/include/asm-arm/processor.h b/include/asm-arm/processor.h
+index b01d5e7..517a4d6 100644
+--- a/include/asm-arm/processor.h
++++ b/include/asm-arm/processor.h
+@@ -112,9 +112,9 @@ extern int kernel_thread(int (*fn)(void *), void *arg, unsigned long flags);
+ static inline void prefetch(const void *ptr)
+ {
+ __asm__ __volatile__(
+- "pld\t%0"
++ "pld\t%a0"
+ :
+- : "o" (*(char *)ptr)
++ : "p" (ptr)
+ : "cc");
+ }
+
============================================================
--- packages/linux/linux-omap1_2.6.25-omap1.bb 3f880506329a1054b2ab693fa4e90e4dff2d5b70
+++ packages/linux/linux-omap1_2.6.25-omap1.bb f27db9a98ec009c2446ac19132c9e5da02d6b232
@@ -4,6 +4,7 @@ SRC_URI = "${KERNELORG_MIRROR}/pub/linux
SRC_URI = "${KERNELORG_MIRROR}/pub/linux/kernel/v2.6/linux-2.6.25.tar.bz2 \
http://www.muru.com/linux/omap/patches/patch-2.6.25-omap1.bz2;patch=1 \
+ file://gcc43-arm-fix-inline-asm-constraints-for-preload.patch;patch=1 \
file://defconfig"
S = "${WORKDIR}/linux-2.6.25"
More information about the Openembedded-commits
mailing list