]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit19aa4be3a9ed961af2dd3b85dd0eea6cb376b25b
tree0f49b4f28bb40f51a4c8dfc60a7b764bf2c5a35a
parent2b7510287dd93ee1f2bb5876a1c88ea24e0b7d5a
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