[PATCH 1/3] ARM: CSR: Adding CSR SiRFprimaII board support
Nicolas Pitre
nico at fluxnic.net
Fri Jul 8 09:38:56 EDT 2011
On Fri, 8 Jul 2011, Russell King - ARM Linux wrote:
> On Fri, Jul 08, 2011 at 10:18:57AM +0800, Barry Song wrote:
> > simply adding a UL suffix will make compiling fail since
> > arch/arm/kernel/debug.S will refer to the macro calculating virtual
> > address of SIRFSOC_UART1_VA_BASE and UL is not legal in asm.
>
> A solution for VMALLOC_END would be to include linux/const.h and use
> _AC(value, UL). I think you're the only one who bases their IO
> addressing off VMALLOC_END.
This is also a bad idea to use VMALLOC_END like that since this is
another per-architecture constant which is targetted for a global
removal.
Nicolas
More information about the linux-arm-kernel
mailing list