]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
scripts/gdb: change kernel config dumping method
authorKuan-Ying Lee <Kuan-Ying.Lee@mediatek.com>
Fri, 10 Jun 2022 07:14:57 +0000 (15:14 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 14 Jun 2022 16:41:42 +0000 (18:41 +0200)
commit669e8dd1265fef6a2bd495d63d83b1c21f928ba0
tree7d455c8f0d8a6bd6227955172725dbd9825ea7d3
parent929f265c40feadfd57e3a8c650a007b541fde2b1
scripts/gdb: change kernel config dumping method

[ Upstream commit 1f7a6cf6b07c74a17343c2559cd5f5018a245961 ]

MAGIC_START("IKCFG_ST") and MAGIC_END("IKCFG_ED") are moved out
from the kernel_config_data variable.

Thus, we parse kernel_config_data directly instead of considering
offset of MAGIC_START and MAGIC_END.

Fixes: 13610aa908dc ("kernel/configs: use .incbin directive to embed config_data.gz")
Signed-off-by: Kuan-Ying Lee <Kuan-Ying.Lee@mediatek.com>
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
scripts/gdb/linux/config.py