linux-mips
[Top] [All Lists]

cache coherent io on au1500

To: linux-mips@linux-mips.org
Subject: cache coherent io on au1500
From: Bruno Randolf <bruno.randolf@4g-systems.biz>
Date: Thu, 11 Sep 2003 16:05:12 +0200
Organization: 4G Mobile Systeme
Original-recipient: rfc822;linux-mips@linux-mips.org
Sender: linux-mips-bounce@linux-mips.org
User-agent: KMail/1.5.3
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

hello!

i have an Au1500, silicon stepping AD (mtx-1 board) which as far as i 
understand should be able to do cache coherent io. but if i change 
CONFIG_NONCOHERENT_IO to "n" compilation of 2.4.21 fails with 

mipsel-linux-gcc -D__KERNEL__ -I/data/kernel/mtx-2.4.21/include -Wall 
- -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common 
- -fomit-frame-pointer -I /data/kernel/mtx-2.4.21/include/asm/gcc -G 0 
- -mno-abicalls -fno-pic -pipe -mcpu=r4600 -mips2 -Wa,--trap   -nostdinc 
- -iwithprefix include -DKBUILD_BASENAME=fork  -c -o fork.o fork.c
In file included from fork.c:20:
/data/kernel/mtx-2.4.21/include/linux/vmalloc.h: In function `vmalloc':
/data/kernel/mtx-2.4.21/include/linux/vmalloc.h:36: `_CACHE_CACHABLE_COW' 
undeclared (first use in this function)
/data/kernel/mtx-2.4.21/include/linux/vmalloc.h:36: (Each undeclared 
identifier is reported only once
/data/kernel/mtx-2.4.21/include/linux/vmalloc.h:36: for each function it 
appears in.)
/data/kernel/mtx-2.4.21/include/linux/vmalloc.h: In function `vmalloc_dma':
/data/kernel/mtx-2.4.21/include/linux/vmalloc.h:45: `_CACHE_CACHABLE_COW' 
undeclared (first use in this function)
/data/kernel/mtx-2.4.21/include/linux/vmalloc.h: In function `vmalloc_32':
/data/kernel/mtx-2.4.21/include/linux/vmalloc.h:54: `_CACHE_CACHABLE_COW' 
undeclared (first use in this function)
make[2]: *** [fork.o] Error 1

how could i fix that?

thanks,
bruno
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQE/YIEZfg2jtUL97G4RAm0pAJ47FLT9fJaNWIqE0gHJ5zsPlZhPngCfY+AY
ZOEDI2hvDJ/zbdk98TzCm9k=
=FcHD
-----END PGP SIGNATURE-----


<Prev in Thread] Current Thread [Next in Thread>