OSDN Git Service

arm64: mm: Fix build error with CONFIG_SPARSEMEM_VMEMMAP disabled
authorJungseung Lee <js07.lee@gmail.com>
Mon, 4 May 2015 10:33:48 +0000 (11:33 +0100)
committerWill Deacon <will.deacon@arm.com>
Tue, 5 May 2015 11:22:17 +0000 (12:22 +0100)
commit326a780317d572711f70d53054502e86a1ff5317
tree8364adbda9fd265de90e7f89aee29a35e0526f67
parentb9a95e85bbc56f168f078885f414f305b4589c4b
arm64: mm: Fix build error with CONFIG_SPARSEMEM_VMEMMAP disabled

This fix the below build error:

arch/arm64/mm/dump.c: In function ‘ptdump_init’:
arch/arm64/mm/dump.c:331:18: error: ‘VMEMMAP_START_NR’ undeclared (first use in this function)
  address_markers[VMEMMAP_START_NR].start_address =
                  ^
arch/arm64/mm/dump.c:331:18: note: each undeclared identifier is reported only once for each
function it appears in
arch/arm64/mm/dump.c:333:18: error: ‘VMEMMAP_END_NR’ undeclared (first use in this function)
  address_markers[VMEMMAP_END_NR].start_address =
                  ^
Acked-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Jungseung Lee <js07.lee@gmail.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/mm/dump.c