diff options
author | Milton Miller <miltonm@bga.com> | 2011-03-21 08:12:13 +0000 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-03-30 10:44:16 +1100 |
commit | 2d86938a4eacb4acf5c4466171ea577d7b8dc4d4 (patch) | |
tree | f4a89b1d494b305bcb6d7880e8f4be63e15ee483 /arch/powerpc | |
parent | 943739fd59d3b77e1020ca788bc64439d679693f (diff) | |
download | op-kernel-dev-2d86938a4eacb4acf5c4466171ea577d7b8dc4d4.zip op-kernel-dev-2d86938a4eacb4acf5c4466171ea577d7b8dc4d4.tar.gz |
powerpc/pseries/smp: query-cpu-stopped-state support won't change
If a given firmware doesn't have a token to support query-cpu-stopped-state,
its not likely to change during the lifetime of the kernel.
Only print this information once, not once per secondary thread.
While here, make the line wrap grep friendly.
Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/platforms/pseries/smp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/platforms/pseries/smp.c b/arch/powerpc/platforms/pseries/smp.c index 0317cce..d6479f9 100644 --- a/arch/powerpc/platforms/pseries/smp.c +++ b/arch/powerpc/platforms/pseries/smp.c @@ -64,8 +64,8 @@ int smp_query_cpu_stopped(unsigned int pcpu) int qcss_tok = rtas_token("query-cpu-stopped-state"); if (qcss_tok == RTAS_UNKNOWN_SERVICE) { - printk(KERN_INFO "Firmware doesn't support " - "query-cpu-stopped-state\n"); + printk_once(KERN_INFO + "Firmware doesn't support query-cpu-stopped-state\n"); return QCSS_HARDWARE_ERROR; } |