arm64: ptdump: use static initializers for vmemmap region boundaries
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Fri, 22 Apr 2016 16:48:03 +0000 (18:48 +0200)
committerWill Deacon <will.deacon@arm.com>
Mon, 25 Apr 2016 11:04:39 +0000 (12:04 +0100)
commitc8f8cca483aa3ec1beb63ee8633de9c76bb3fe6f
tree0f49b4f28bb40f51a4c8dfc60a7b764bf2c5a35a
parent1dff8083a024650c75a9c961c38082473ceae8cf
arm64: ptdump: use static initializers for vmemmap region boundaries

There is no need to initialize the vmemmap region boundaries dynamically,
since they are compile time constants. So just add these constants to the
global struct initializer, and drop the dynamic assignment and related code.

Acked-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/mm/dump.c