File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -916,14 +916,18 @@ static __init void qemu_header(void)
916916{
917917 int num ;
918918 unsigned long * p ;
919+ char name_mpe [80 ];
919920
920921 pr_info ("--- cut here ---\n" );
921922 pr_info ("/* AUTO-GENERATED HEADER FILE FOR SEABIOS FIRMWARE */\n" );
922923 pr_cont ("/* generated with Linux kernel */\n" );
923924 pr_cont ("/* search for PARISC_QEMU_MACHINE_HEADER in Linux */\n\n" );
924925
925- pr_info ("#define PARISC_MODEL \"%s\"\n \n" ,
926+ pr_info ("#define PARISC_MODEL \"%s\"\n" ,
926927 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 );
927931
928932 #define p ((unsigned long *)&boot_cpu_data.pdc.model)
929933 pr_info ("#define PARISC_PDC_MODEL 0x%lx, 0x%lx, 0x%lx, "
You can’t perform that action at this time.
0 commit comments