[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

2.5.3-pre5 io-unit.c compile error on sparc32



Hi,

When attempting to compile 2.5.3-pre5 I got the following error:

io-unit.c: In function `iounit_get_scsi_sgl':
io-unit.c:134: dereferencing pointer to incomplete type
io-unit.c: In function `iounit_map_dma_area':
io-unit.c:193: `mem_map' undeclared (first use in this function)
io-unit.c:193: (Each undeclared identifier is reported only once
io-unit.c:193: for each function it appears in.)
make[2]: *** [io-unit.o] Error 1
make[2]: Leaving directory `/usr/src/linux/arch/sparc/mm'
make[1]: *** [first_rule] Error 2
make[1]: Leaving directory `/usr/src/linux/arch/sparc/mm'
make: *** [_dir_arch/sparc/mm] Error 2

To resolve this I added #include <linux/mm.h> into the top of
arch/sparc/mm/io-unit.c

In future should this be posted as a patch file and is this the correct
place to post it to.  I downloaded the latest CVS version from
vger.samba.org about 2 hours ago, so it is up to date.

Chris



Reply to: