SOURCES: DirectFB-llh-ppc.patch (NEW) - linux/config.h isn't acces...
pluto
pluto at pld-linux.org
Thu Jan 26 23:01:06 CET 2006
Author: pluto Date: Thu Jan 26 22:01:06 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- linux/config.h isn't accessible for userland.
---- Files affected:
SOURCES:
DirectFB-llh-ppc.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/DirectFB-llh-ppc.patch
diff -u /dev/null SOURCES/DirectFB-llh-ppc.patch:1.1
--- /dev/null Thu Jan 26 23:01:06 2006
+++ SOURCES/DirectFB-llh-ppc.patch Thu Jan 26 23:01:01 2006
@@ -0,0 +1,31 @@
+--- DirectFB-0.9.24/lib/direct/ppcasm_memcpy_cachable.S.orig 2004-05-05 17:54:30.000000000 +0000
++++ DirectFB-0.9.24/lib/direct/ppcasm_memcpy_cachable.S 2006-01-26 21:56:40.000000000 +0000
+@@ -11,18 +11,8 @@
+
+ #define __ASSEMBLY__
+
+-#include <linux/config.h>
+-
+-#if defined(CONFIG_8xx) || defined(CONFIG_403GCX)
+-#define L1_CACHE_LINE_SIZE 16
+-#define LG_L1_CACHE_LINE_SIZE 4
+-#elif defined(CONFIG_PPC64BRIDGE)
+-#define L1_CACHE_LINE_SIZE 128
+-#define LG_L1_CACHE_LINE_SIZE 7
+-#else
+ #define L1_CACHE_LINE_SIZE 32
+ #define LG_L1_CACHE_LINE_SIZE 5
+-#endif
+
+ #include "ppc_asm.h"
+
+@@ -119,9 +109,7 @@
+ mtctr r0
+ beq 63f
+ 53:
+-#if !defined(CONFIG_8xx)
+ dcbz r11,r6
+-#endif
+ COPY_16_BYTES
+ #if L1_CACHE_LINE_SIZE >= 32
+ COPY_16_BYTES
================================================================
More information about the pld-cvs-commit
mailing list