]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
x86/boot: Drop redundant code setting the root device
authorArd Biesheuvel <ardb@kernel.org>
Tue, 12 Sep 2023 09:00:57 +0000 (09:00 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 23 Feb 2024 08:25:26 +0000 (09:25 +0100)
commit08796fc9bfe2b1a3ba7ca67031a7b193ecfe5f5c
tree028774e154bd988646daf8f2b2dd59b4403d3056
parent4bac079dba042caf35b87471d7b9c739481219d7
x86/boot: Drop redundant code setting the root device

commit 7448e8e5d15a3c4df649bf6d6d460f78396f7e1e upstream.

The root device defaults to 0,0 and is no longer configurable at build
time [0], so there is no need for the build tool to ever write to this
field.

[0] 079f85e624189292 ("x86, build: Do not set the root_dev field in bzImage")

This change has no impact on the resulting bzImage binary.

Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Link: https://lore.kernel.org/r/20230912090051.4014114-23-ardb@google.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/x86/boot/header.S
arch/x86/boot/tools/build.c