mirror of
https://git.yoctoproject.org/poky
synced 2026-04-04 23:02:22 +02:00
linux-omap2-git: Sync with OE.dev, add fixes to compile correctly with gcc 4.3.1
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5009 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
25
meta/packages/linux/linux-omap2-git/fixes.patch
Normal file
25
meta/packages/linux/linux-omap2-git/fixes.patch
Normal file
@@ -0,0 +1,25 @@
|
||||
Index: git/include/asm-arm/processor.h
|
||||
===================================================================
|
||||
--- git.orig/include/asm-arm/processor.h 2008-08-03 11:27:02.000000000 +0100
|
||||
+++ git/include/asm-arm/processor.h 2008-08-03 11:53:22.000000000 +0100
|
||||
@@ -109,14 +109,16 @@
|
||||
#if __LINUX_ARM_ARCH__ >= 5
|
||||
|
||||
#define ARCH_HAS_PREFETCH
|
||||
-static inline void prefetch(const void *ptr)
|
||||
+#define prefetch(ptr) __builtin_prefetch(ptr)
|
||||
+
|
||||
+/*static inline void prefetch(const void *ptr)
|
||||
{
|
||||
__asm__ __volatile__(
|
||||
- "pld\t%0"
|
||||
+ "pld\ta%0"
|
||||
:
|
||||
- : "o" (*(char *)ptr)
|
||||
+ : "p" (ptr)
|
||||
: "cc");
|
||||
-}
|
||||
+}*/
|
||||
|
||||
#define ARCH_HAS_PREFETCHW
|
||||
#define prefetchw(ptr) prefetch(ptr)
|
||||
Reference in New Issue
Block a user