]> git.pld-linux.org Git - packages/DirectFB.git/blame - DirectFB-llh-ppc.patch
- ppc/llh build fix.
[packages/DirectFB.git] / DirectFB-llh-ppc.patch
CommitLineData
d3075417
PS
1--- DirectFB-0.9.24/lib/direct/ppcasm_memcpy_cachable.S.orig 2004-05-05 17:54:30.000000000 +0000
2+++ DirectFB-0.9.24/lib/direct/ppcasm_memcpy_cachable.S 2006-01-26 21:56:40.000000000 +0000
3@@ -11,18 +11,8 @@
4
5 #define __ASSEMBLY__
6
7-#include <linux/config.h>
8-
9-#if defined(CONFIG_8xx) || defined(CONFIG_403GCX)
10-#define L1_CACHE_LINE_SIZE 16
11-#define LG_L1_CACHE_LINE_SIZE 4
12-#elif defined(CONFIG_PPC64BRIDGE)
13-#define L1_CACHE_LINE_SIZE 128
14-#define LG_L1_CACHE_LINE_SIZE 7
15-#else
16 #define L1_CACHE_LINE_SIZE 32
17 #define LG_L1_CACHE_LINE_SIZE 5
18-#endif
19
20 #include "ppc_asm.h"
21
22@@ -119,9 +109,7 @@
23 mtctr r0
24 beq 63f
25 53:
26-#if !defined(CONFIG_8xx)
27 dcbz r11,r6
28-#endif
29 COPY_16_BYTES
30 #if L1_CACHE_LINE_SIZE >= 32
31 COPY_16_BYTES
This page took 0.027698 seconds and 4 git commands to generate.