Skip to content
Snippets Groups Projects
Commit 32f8b97c authored by Russell King's avatar Russell King Committed by Russell King
Browse files

[ARM] Don't call dump_cpu_info unless we're booting


We don't want to call dump_cpu_info() from cpu_init() after boot since
it produces a lot of unnecessary noise - since cpu_init() gets called
on resume and hotplug cpu insertion events.

Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 4fe15ba0
Branches
Tags
No related merge requests found
......@@ -338,7 +338,8 @@ void cpu_init(void)
BUG();
}
dump_cpu_info(cpu);
if (system_state == SYSTEM_BOOTING)
dump_cpu_info(cpu);
/*
* setup stacks for re-entrant exception handlers
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment