diff options
| author | Koen Kooi <koen@openembedded.org> | 2008-08-22 15:47:12 +0000 |
|---|---|---|
| committer | Koen Kooi <koen@openembedded.org> | 2008-08-22 15:47:12 +0000 |
| commit | f3c74f6b708586d0a996daae1fa8b5ffa3b25cb6 (patch) | |
| tree | 4df47bc9923d49a4c61d724f8f918e7d6811a696 /packages/linux | |
| parent | bcbaf180430454102b5105e21f5db1e83596ab7b (diff) | |
| parent | 3d947531d6e2a313b6e68631c93e50dc9b956b96 (diff) | |
merge of '2df98cb93e1c3ab67c675e3f11ef036ea57dd19b'
and 'ba9a800ebd8fd6f90db1e022cd9a342c69339bc2'
Diffstat (limited to 'packages/linux')
| -rw-r--r-- | packages/linux/linux-omap1-2.6.25-omap1/gcc43-arm-fix-inline-asm-constraints-for-preload.patch | 22 | ||||
| -rw-r--r-- | packages/linux/linux-omap1_2.6.25-omap1.bb | 1 |
2 files changed, 23 insertions, 0 deletions
diff --git a/packages/linux/linux-omap1-2.6.25-omap1/gcc43-arm-fix-inline-asm-constraints-for-preload.patch b/packages/linux/linux-omap1-2.6.25-omap1/gcc43-arm-fix-inline-asm-constraints-for-preload.patch new file mode 100644 index 0000000000..4695917a57 --- /dev/null +++ b/packages/linux/linux-omap1-2.6.25-omap1/gcc43-arm-fix-inline-asm-constraints-for-preload.patch @@ -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"); + } + diff --git a/packages/linux/linux-omap1_2.6.25-omap1.bb b/packages/linux/linux-omap1_2.6.25-omap1.bb index 1d2d0bedc5..2f3f3ce22a 100644 --- a/packages/linux/linux-omap1_2.6.25-omap1.bb +++ b/packages/linux/linux-omap1_2.6.25-omap1.bb @@ -4,6 +4,7 @@ COMPATIBLE_MACHINE = "omap5912osk" 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" |
