diff options
author | 2022-05-06 19:43:58 +0800 | |
---|---|---|
committer | 2022-05-07 19:54:33 +0100 | |
commit | e6b394425c615d1596ce7d9de23a3a34ee2e612b (patch) | |
tree | aebd8d50194653ed9c3edf44ea7db3aa0842def0 /scripts/gdb/linux/utils.py | |
parent | kdump: return -ENOENT if required cmdline option does not exist (diff) | |
download | wireguard-linux-e6b394425c615d1596ce7d9de23a3a34ee2e612b.tar.xz wireguard-linux-e6b394425c615d1596ce7d9de23a3a34ee2e612b.zip |
arm64: Use insert_resource() to simplify code
insert_resource() traverses the subtree layer by layer from the root node
until a proper location is found. Compared with request_resource(), the
parent node does not need to be determined in advance.
In addition, move the insertion of node 'crashk_res' into function
reserve_crashkernel() to make the associated code close together.
Signed-off-by: Zhen Lei <thunder.leizhen@huawei.com>
Acked-by: John Donnelly <john.p.donnelly@oracle.com>
Acked-by: Baoquan He <bhe@redhat.com>
Link: https://lore.kernel.org/r/20220506114402.365-3-thunder.leizhen@huawei.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions