mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-23 12:14:10 +08:00
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>
This commit is contained in:
parent
6240553b52
commit
b63b4f1a79
@ -927,8 +927,8 @@ static __init void qemu_header(void)
|
||||
|
||||
#define p ((unsigned long *)&boot_cpu_data.pdc.model)
|
||||
pr_info("#define PARISC_PDC_MODEL 0x%lx, 0x%lx, 0x%lx, "
|
||||
"0x%lx, 0x%lx, 0x%lx, 0x%lx, 0x%lx, 0x%lx\n\n",
|
||||
p[0], p[1], p[2], p[3], p[4], p[5], p[6], p[7], p[8]);
|
||||
"0x%lx, 0x%lx, 0x%lx, 0x%lx, 0x%lx, 0x%lx, 0x%lx\n\n",
|
||||
p[0], p[1], p[2], p[3], p[4], p[5], p[6], p[7], p[8], p[9]);
|
||||
#undef p
|
||||
|
||||
pr_info("#define PARISC_PDC_VERSION 0x%04lx\n\n",
|
||||
|
@ -242,9 +242,9 @@ void __init collect_boot_cpu_data(void)
|
||||
/* get CPU-Model Information... */
|
||||
#define p ((unsigned long *)&boot_cpu_data.pdc.model)
|
||||
if (pdc_model_info(&boot_cpu_data.pdc.model) == PDC_OK) {
|
||||
printk(KERN_INFO
|
||||
"model %08lx %08lx %08lx %08lx %08lx %08lx %08lx %08lx %08lx\n",
|
||||
p[0], p[1], p[2], p[3], p[4], p[5], p[6], p[7], p[8]);
|
||||
printk(KERN_INFO
|
||||
"model %08lx %08lx %08lx %08lx %08lx %08lx %08lx %08lx %08lx %08lx\n",
|
||||
p[0], p[1], p[2], p[3], p[4], p[5], p[6], p[7], p[8], p[9]);
|
||||
|
||||
add_device_randomness(&boot_cpu_data.pdc.model,
|
||||
sizeof(boot_cpu_data.pdc.model));
|
||||
|
Loading…
Reference in New Issue
Block a user