[lkml]   [2002]   [Sep]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject2.4.19, PPC and AGP

I try to compile 2.4.19 [2.4.20-pre7 too] on PPC.
But in file drivers/char/agp/agpgart_be.c in function flush_cache
line 68-86 isn't defined PowerPC.

Here is small patch to fix this:

--- linux-2.4.19/drivers/char/agp/ Fri Sep 13 10:26:51 2002
+++ linux-2.4.19/drivers/char/agp/agpgart_be.c Fri Sep 13 10:26:29 2002
@@ -69,7 +69,7 @@
#if defined(__i386__) || defined(__x86_64__)
asm volatile ("wbinvd":::"memory");
-#elif defined(__alpha__) || defined(__ia64__) || defined(__sparc__)
+#elif defined(__alpha__) || defined(__ia64__) || defined(__sparc__) || defined(__powerpc__)
/* ??? I wonder if we'll really need to flush caches, or if the
core logic can manage to keep the system coherent. The ARM
speaks only of using `cflush' to get things in memory in

{Wojciech 'Sas' Cieciwa} {Member of PLD Team }

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:28    [W:0.062 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site