diff options
author | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-12-25 13:39:50 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2008-12-25 13:39:25 +0100 |
commit | 395d31d40cc38270dd7c024691404e2eddf0678d (patch) | |
tree | 6e1a0f4114985f612090bedb00b8a4c860b815e4 /arch/s390/kernel/topology.c | |
parent | 74eacdb9c2bf9fc6e8c6785013b5dd0e551a9dfa (diff) | |
download | blackbird-op-linux-395d31d40cc38270dd7c024691404e2eddf0678d.tar.gz blackbird-op-linux-395d31d40cc38270dd7c024691404e2eddf0678d.zip |
[S390] convert cpu related printks to pr_xxx macros.
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'arch/s390/kernel/topology.c')
-rw-r--r-- | arch/s390/kernel/topology.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/s390/kernel/topology.c b/arch/s390/kernel/topology.c index b3aac53fd6dc..83579ed62933 100644 --- a/arch/s390/kernel/topology.c +++ b/arch/s390/kernel/topology.c @@ -3,6 +3,9 @@ * Author(s): Heiko Carstens <heiko.carstens@de.ibm.com> */ +#define KMSG_COMPONENT "cpu" +#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt + #include <linux/kernel.h> #include <linux/mm.h> #include <linux/init.h> @@ -306,7 +309,7 @@ void __init s390_init_cpu_topology(void) for (i = 0; i < info->mnest - 2; i++) nr_cores *= info->mag[NR_MAG - 3 - i]; - printk(KERN_INFO "CPU topology:"); + pr_info("The CPU configuration topology of the machine is:"); for (i = 0; i < NR_MAG; i++) printk(" %d", info->mag[i]); printk(" / %d\n", info->mnest); |