Re: [PATCH] Workaround for a sparse warning in include/asm-mips/io.h

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

 



On Wed, Jul 11, 2007 at 11:54:20PM +0900, Atsushi Nemoto wrote:

> Yes, adding 'L' to KSEG1 is another way to silence the warnings.  But
> I just thought it was a bit intrusive.  And I'm not sure all code are
> OK if KSEG1 is 'signed' ...

The MIPS architecture's idea of the 32 and 64-bit address space is that
32-bit addresses can be sign-extended to 64-bit addresses.  This if of
course conflicting with the general Linux idea that virtual addresses are
represented as an unsigned long.

  Ralf


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux