]> 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)
commitdf58b5d2d5839ae79a08e8a8d2eeae0d5026fed3
tree0f49b4f28bb40f51a4c8dfc60a7b764bf2c5a35a
parenta5bf38f106430b1675f3cec7b11178b8b838e1b0
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