arm64: Split pr_notice("Virtual kernel memory layout...") into multiple pr_cont()
authorCatalin Marinas <catalin.marinas@arm.com>
Fri, 11 Mar 2016 17:39:25 +0000 (17:39 +0000)
committerCatalin Marinas <catalin.marinas@arm.com>
Mon, 21 Mar 2016 12:19:12 +0000 (12:19 +0000)
commitf09f1bacfe2b1e64a5d94bc2711f73b654c95514
tree43319ef066896dc95ef5c733fd8143c9e4426ac7
parentcc7c0cda8f8c03d6867408e3df953b2fa67d704c
arm64: Split pr_notice("Virtual kernel memory layout...") into multiple pr_cont()

The printk() implementation has a limit of LOG_LINE_MAX (== 1024 - 32)
buffer per call which the arm64 mem_init() breaches when printing the
virtual memory layout with CONFIG_KASAN enabled. The result is that the
last line is no longer printed. This patch splits the call into a
pr_notice() + additional pr_cont() calls.

Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
arch/arm64/mm/init.c