Thread (8 messages) flat view 8 messages, 4 authors, 2001-11-15

AGP : ATI128,powerpc

From: Vincent Katz <hidden>
Date: 2001-11-14 20:52:42

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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help