summaryrefslogtreecommitdiff
path: root/arch/arm64/kernel/debug-monitors.c
diff options
context:
space:
mode:
authorMark Rutland <mark.rutland@arm.com>2015-10-06 20:24:37 +0300
committerWill Deacon <will.deacon@arm.com>2015-10-06 20:33:15 +0300
commit4ca3bc86bea23f38596ce7508f75e072839bde44 (patch)
tree6cd7b6433b2f305c4937ca8d136b0000a459bfc6 /arch/arm64/kernel/debug-monitors.c
parentabffa6f3b1578d5991545f6998ca7ee70b830e94 (diff)
downloadlinux-4ca3bc86bea23f38596ce7508f75e072839bde44.tar.xz
arm64: Don't relocate non-existent initrd
When booting a kernel without an initrd, the kernel reports that it moves -1 bytes worth, having gone through the motions with initrd_start equal to initrd_end: Moving initrd from [4080000000-407fffffff] to [9fff49000-9fff48fff] Prevent this by bailing out early when the initrd size is zero (i.e. we have no initrd), avoiding the confusing message and other associated work. Fixes: 1570f0d7ab425c1e ("arm64: support initrd outside kernel linear map") Cc: Mark Salter <msalter@redhat.com> Signed-off-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Will Deacon <will.deacon@arm.com>
Diffstat (limited to 'arch/arm64/kernel/debug-monitors.c')
0 files changed, 0 insertions, 0 deletions