linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* AGP : ATI128,powerpc
@ 2001-11-14 20:52 Vincent Katz
  2001-11-14 21:09 ` Kevin B. Hendricks
  2001-11-14 21:26 ` Benjamin Herrenschmidt
  0 siblings, 2 replies; 10+ messages in thread
From: Vincent Katz @ 2001-11-14 20:52 UTC (permalink / raw)
  To: jhartmann; +Cc: paulus, linuxppc-dev, paulus


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/

^ permalink raw reply	[flat|nested] 10+ messages in thread
[parent not found: <20011114230308.04E9D18077@haven.ozlabs.ibm.com>]

end of thread, other threads:[~2001-11-15 17:21 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-14 20:52 AGP : ATI128,powerpc Vincent Katz
2001-11-14 21:09 ` Kevin B. Hendricks
2001-11-14 21:23   ` Jörn Nettingsmeier
2001-11-14 21:38     ` Benjamin Herrenschmidt
2001-11-14 21:26 ` Benjamin Herrenschmidt
2001-11-15 14:12   ` Vincent Katz
2001-11-15 14:45     ` Benjamin Herrenschmidt
2001-11-15 17:21       ` Vincent Katz
     [not found] <20011114230308.04E9D18077@haven.ozlabs.ibm.com>
2001-11-14 18:11 ` Paul Mackerras
2001-11-15  9:20   ` Jörn Nettingsmeier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).