Re: [BUILD_FAILURE] linux-next: Tree for March 31 build fails withCONFIG_SLICOSS=y

From: Greg KH
Date: Mon Mar 31 2008 - 11:50:58 EST


On Tue, Apr 01, 2008 at 12:31:10AM +1100, Stephen Rothwell wrote:
> Hi Greg,
>
> Strike two! Again, these drivers need to build (or not try to build) for
> all architectures ... Its out until you tell me the above is true.
>
> #if defined(CONFIG_X86_64)
> hcmd->cmdsize = (ulong32) ((((ulong64) & ihcmd->u.slic_buffers.bufs[1] -
> (ulong64) hcmd) + 31) >> 5);
> #elif defined(CONFIG_X86)
> hcmd->cmdsize = ((((ulong32) & ihcmd->u.slic_buffers.bufs[1] -
> (ulong32) hcmd) + 31) >> 5);
> #else
> Stop Compilation;

Ah, missed that one, that's why it built on my machines (x86-64 and
i386), but would die on anything else. That test is just wrong, I'll
fix it up to get it to build on all arches (doesn't mean it will run
though, it assumes that port io is memory mapped flat on all machines
and still needs a lot of work to be fixed.

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/