summaryrefslogtreecommitdiffstats
path: root/patches/DirectFB-1.3.0/old-patches-for-reference/dont_use_linux_config_h_on_powerpc.diff
blob: 3979dfd366928bfdeb74b56fb9aa7e294ed2c1d4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Juergen Beisert <j.beisert@pengutronix.de>
Subject: don't include linux/config.h on PowerPC

Backport from a 1.1.0 patch.

Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>

---
 lib/direct/ppcasm_memcpy_cachable.S |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: lib/direct/ppcasm_memcpy_cachable.S
===================================================================
--- lib/direct/ppcasm_memcpy_cachable.S.orig
+++ lib/direct/ppcasm_memcpy_cachable.S
@@ -34,7 +34,7 @@
 
 #define __ASSEMBLY__
 
-#include <linux/config.h>
+/* #include <linux/config.h> don't do that! */
 
 #if defined(CONFIG_8xx) || defined(CONFIG_403GCX)
 #define L1_CACHE_LINE_SIZE       16