Skip to content

Commit

Permalink
[ARM] Don't call dump_cpu_info unless we're booting
Browse files Browse the repository at this point in the history
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: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Russell King authored and Russell King committed Nov 6, 2005
1 parent 4fe15ba commit 32f8b97
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion arch/arm/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 32f8b97

Please sign in to comment.