aboutsummaryrefslogtreecommitdiffstats
path: root/arch/s390/kernel/topology.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/s390/kernel/topology.c')
-rw-r--r--arch/s390/kernel/topology.c5
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 @@
3 * Author(s): Heiko Carstens <heiko.carstens@de.ibm.com> 3 * Author(s): Heiko Carstens <heiko.carstens@de.ibm.com>
4 */ 4 */
5 5
6#define KMSG_COMPONENT "cpu"
7#define pr_fmt(fmt) KMSG_COMPONENT ": " fmt
8
6#include <linux/kernel.h> 9#include <linux/kernel.h>
7#include <linux/mm.h> 10#include <linux/mm.h>
8#include <linux/init.h> 11#include <linux/init.h>
@@ -306,7 +309,7 @@ void __init s390_init_cpu_topology(void)
306 for (i = 0; i < info->mnest - 2; i++) 309 for (i = 0; i < info->mnest - 2; i++)
307 nr_cores *= info->mag[NR_MAG - 3 - i]; 310 nr_cores *= info->mag[NR_MAG - 3 - i];
308 311
309 printk(KERN_INFO "CPU topology:"); 312 pr_info("The CPU configuration topology of the machine is:");
310 for (i = 0; i < NR_MAG; i++) 313 for (i = 0; i < NR_MAG; i++)
311 printk(" %d", info->mag[i]); 314 printk(" %d", info->mag[i]);
312 printk(" / %d\n", info->mnest); 315 printk(" / %d\n", info->mnest);