AGP : ATI128,powerpc

Vincent Katz vincent.katz at laposte.net
Thu Nov 15 07:52:42 EST 2001


Hi,

Linux version : 2.4.14
File with a supposed probleme : linux/drivers/char/agp/agpgart_be.c

I have a powerpc with an ati128 AGP.

When i compile the kernel i have this error : error "Please define
flush_cache."

this error come from the function flush_cache in agpgart_be.c where
definition for powerpc are not setting . Why ?



> static inline void flush_cache(void)
>{
>#if defined(__i386__) || defined(__x86_64__)
>        asm volatile ("wbinvd":::"memory");
>#elif defined(__alpha__) || defined(__ia64__) || defined(__sparc__)
>        /* ??? 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
>           preparation for power failure.
>
>           If we do need to call `cflush', we'll need a target page,
>           as we can only flush one page at a time.
>
>           Ditto for IA-64. --davidm 00/08/07 */
>        mb();
>#else
>#error "Please define flush_cache."
>#endif
>}


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc-dev mailing list