Hi Greg, On Tue, 27 May 2008 09:50:19 -0700 Greg KH wrote: > > On Tue, May 27, 2008 at 08:26:30PM +1000, Stephen Rothwell wrote: > > > > drivers/uwb/whci.c:166: error: `DMA_64BIT_MASK' undeclared (first use in this function) > > drivers/uwb/whci.c:166: error: (Each undeclared identifier is reported only once > > drivers/uwb/whci.c:166: error: for each function it appears in.) > > drivers/uwb/whci.c:168: error: `DMA_32BIT_MASK' undeclared (first use in this function) > > Is this sparc64 or sparc32? I don't seem to get these errors using the > sparc64 cross compiler tool chain. http://kisskb.ellerman.id.au/kisskb/buildresult/29187/ (that's from the day before yesterday, but it happened again yesterday). sparc32 build using a biarch sparc64 cross compiler. But it shouldn't matter. If you use something from a header file, include it (or something that is guaranteed to include it on all architecture using all configs). -- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/