From mboxrd@z Thu Jan 1 00:00:00 1970 Subject: AGP : ATI128,powerpc From: Vincent Katz To: jhartmann@precisioninsight.com Cc: paulus@samba.org, linuxppc-dev@lists.linuxppc.org, paulus@au.ibm.com Content-Type: text/plain Date: 14 Nov 2001 21:52:42 +0100 Message-Id: <1005771164.6732.19.camel@avalon> Mime-Version: 1.0 Sender: owner-linuxppc-dev@lists.linuxppc.org List-Id: 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/