]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit901b75a6987869ca4a3319eb00e5cc3d6e196c78
tree8364adbda9fd265de90e7f89aee29a35e0526f67
parent1cadf9b6ae6aefe0497714792c0df3a2269c9ea0
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