diff options
author | Vincent Whitchurch <[email protected]> | 2022-01-19 10:29:34 +0100 |
---|---|---|
committer | Richard Weinberger <[email protected]> | 2022-03-11 10:44:43 +0100 |
commit | 39508aab4a66473b4ba7cce0dbe919f2fec7450a (patch) | |
tree | ced3f2bf78c9d4c204188137ab372bfe23e20a0a /tools/testing/selftests/bpf/progs/test_prog_array_init.c | |
parent | e3a33af812c611d99756e2ec61e9d7068d466bdf (diff) |
um: Fix order of dtb unflatten/early init
Scan the tree for reserved memory before unflattening it. As Rob
Herring said:
| These should be reversed. early_init_fdt_scan_reserved_mem() works on
| the flat tree. Reserved memory needs to be reserved before
| unflatten_device_tree() starts allocating memory. Though I imagine that
| doesn't really matter for UML.
Suggested-by: Rob Herring <[email protected]>
Link: https://lore.kernel.org/lkml/YeF%[email protected]/
Signed-off-by: Vincent Whitchurch <[email protected]>
Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_prog_array_init.c')
0 files changed, 0 insertions, 0 deletions