aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorHuacai Chen <[email protected]>2019-09-27 18:27:42 +0800
committerPaul Burton <[email protected]>2019-09-30 15:18:22 -0700
commit2b6509f42dc6c96ef0b625888d4aa56d2e140330 (patch)
tree07620843a196adebdd8dee23a25db5c29425a3a0 /tools/perf/scripts/python/export-to-sqlite.py
parent54ecb8f7028c5eb3d740bb82b0f1d90f2df63c5c (diff)
MIPS: Loongson64: Fix boot failure after dropping boot_mem_map
From commit a94e4f24ec83 ("MIPS: init: Drop boot_mem_map") onwards, add_memory_region() is handled by memblock_add()/memblock_reserve() directly and all bootmem API should be converted to memblock API. Otherwise it will lead to boot failure, especially in the NUMA case because add_memory_region lose the node_id information. Fixes: a94e4f24ec836c8984f83959 ("MIPS: init: Drop boot_mem_map") Signed-off-by: Huacai Chen <[email protected]> Signed-off-by: Jiaxun Yang <[email protected]> [[email protected]: - Invert node_id check to de-indent the switch statement & avoid lines over 80 characters. - Fixup commit reference in commit message.] Signed-off-by: Paul Burton <[email protected]> Cc: Ralf Baechle <[email protected]> Cc: James Hogan <[email protected]> Cc: [email protected] Cc: [email protected] Cc: Fuxin Zhang <[email protected]> Cc: Zhangjin Wu <[email protected]> Cc: Huacai Chen <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions