at91: vmalloc fix missing AT91_VIRT_BASE define
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Wed, 2 Nov 2011 07:02:43 +0000 (15:02 +0800)
committerJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Wed, 9 Nov 2011 15:00:58 +0000 (23:00 +0800)
commit30458edf667b77012573e649fced3cf5c01efe82
treecf1c79d5ab783764f40f35d713d9a6ffb7a060d1
parentb3c41f4c18de9aa90315dd0d197f8485b00e3cc5
at91: vmalloc fix missing AT91_VIRT_BASE define

VMALLOC_END is defined in terms of AT91_VIRT_BASE but this needs
mach/hardware.h for it's definition.

In file included from arch/arm/mach-at91/board-usb-a926x.c:26:0:
include/linux/mm.h: In function 'is_vmalloc_addr':
include/linux/mm.h:305:41: error: 'AT91_VIRT_BASE' undeclared (first use in this function)
include/linux/mm.h:305:41: note: each undeclared identifier is reported only once for each function it appears in

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Jamie Iles <jamie@jamieiles.com>
arch/arm/mach-at91/include/mach/vmalloc.h