Re: [PATCH 5/5] MIPS: Move FIXADDR_TOP into spaces.h

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

 



On Mon, 6 Sep 2010 21:03:52 -0700, Kevin Cernekee <cernekee@xxxxxxxxx> wrote:
> -#define FIXADDR_TOP	((unsigned long)(long)(int)0xfffe0000)
...
> +#define FIXADDR_TOP		_AC(0xfffe0000, UL)

For 64-bit kernel, FIXADDR_TOP should be 0xfffffffffffe0000UL not
0x00000000fffe0000UL.

The magical casts are used to sign-extend the address.  Please do not
drop them.

---
Atsushi Nemoto



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

  Powered by Linux