projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fe15ba
)
[ARM] Don't call dump_cpu_info unless we're booting
author
Russell King
<rmk@dyn-67.arm.linux.org.uk>
Sun, 6 Nov 2005 19:49:21 +0000
(19:49 +0000)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Sun, 6 Nov 2005 19:49:21 +0000
(19:49 +0000)
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>
arch/arm/kernel/setup.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/arm/kernel/setup.c
b/arch/arm/kernel/setup.c
index c9b69771f92ebb7b3ec8145b796336a176b64ad5..a6d7fb81330e63994f2e26859d9eabb54b4bc067 100644
(file)
--- a/
arch/arm/kernel/setup.c
+++ b/
arch/arm/kernel/setup.c
@@
-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