Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

parisc: Export model name for MPE/ix

Signed-off-by: Helge Deller <deller@gmx.de>

+5 -1
+5 -1
arch/parisc/kernel/drivers.c
··· 916 916 { 917 917 int num; 918 918 unsigned long *p; 919 + char name_mpe[80]; 919 920 920 921 pr_info("--- cut here ---\n"); 921 922 pr_info("/* AUTO-GENERATED HEADER FILE FOR SEABIOS FIRMWARE */\n"); 922 923 pr_cont("/* generated with Linux kernel */\n"); 923 924 pr_cont("/* search for PARISC_QEMU_MACHINE_HEADER in Linux */\n\n"); 924 925 925 - pr_info("#define PARISC_MODEL \"%s\"\n\n", 926 + pr_info("#define PARISC_MODEL \"%s\"\n", 926 927 boot_cpu_data.pdc.sys_model_name); 928 + strcpy(name_mpe, boot_cpu_data.pdc.sys_model_name); 929 + pdc_model_sysmodel(OS_ID_MPEXL, name_mpe); 930 + pr_info("#define PARISC_MODEL_MPE \"%s\"\n\n", name_mpe); 927 931 928 932 #define p ((unsigned long *)&boot_cpu_data.pdc.model) 929 933 pr_info("#define PARISC_PDC_MODEL 0x%lx, 0x%lx, 0x%lx, "