Skip to content

Commit b63b4f1

Browse files
committed
parisc: Show default CPU PSW.W setting as reported by PDC
The last word shows the default PSW.W setting. Signed-off-by: Helge Deller <deller@gmx.de>
1 parent 6240553 commit b63b4f1

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

arch/parisc/kernel/drivers.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -927,8 +927,8 @@ static __init void qemu_header(void)
927927

928928
#define p ((unsigned long *)&boot_cpu_data.pdc.model)
929929
pr_info("#define PARISC_PDC_MODEL 0x%lx, 0x%lx, 0x%lx, "
930-
"0x%lx, 0x%lx, 0x%lx, 0x%lx, 0x%lx, 0x%lx\n\n",
931-
p[0], p[1], p[2], p[3], p[4], p[5], p[6], p[7], p[8]);
930+
"0x%lx, 0x%lx, 0x%lx, 0x%lx, 0x%lx, 0x%lx, 0x%lx\n\n",
931+
p[0], p[1], p[2], p[3], p[4], p[5], p[6], p[7], p[8], p[9]);
932932
#undef p
933933

934934
pr_info("#define PARISC_PDC_VERSION 0x%04lx\n\n",

arch/parisc/kernel/processor.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -242,9 +242,9 @@ void __init collect_boot_cpu_data(void)
242242
/* get CPU-Model Information... */
243243
#define p ((unsigned long *)&boot_cpu_data.pdc.model)
244244
if (pdc_model_info(&boot_cpu_data.pdc.model) == PDC_OK) {
245-
printk(KERN_INFO
246-
"model %08lx %08lx %08lx %08lx %08lx %08lx %08lx %08lx %08lx\n",
247-
p[0], p[1], p[2], p[3], p[4], p[5], p[6], p[7], p[8]);
245+
printk(KERN_INFO
246+
"model %08lx %08lx %08lx %08lx %08lx %08lx %08lx %08lx %08lx %08lx\n",
247+
p[0], p[1], p[2], p[3], p[4], p[5], p[6], p[7], p[8], p[9]);
248248

249249
add_device_randomness(&boot_cpu_data.pdc.model,
250250
sizeof(boot_cpu_data.pdc.model));

0 commit comments

Comments
 (0)