@@ -155,7 +155,8 @@ static void __init __e820__range_add(struct e820_table *table, u64 start, u64 si
155
155
int x = table -> nr_entries ;
156
156
157
157
if (x >= ARRAY_SIZE (table -> entries )) {
158
- pr_err ("e820: too many entries; ignoring [mem %#010llx-%#010llx]\n" , start , start + size - 1 );
158
+ pr_err ("too many entries; ignoring [mem %#010llx-%#010llx]\n" ,
159
+ start , start + size - 1 );
159
160
return ;
160
161
}
161
162
@@ -190,9 +191,10 @@ void __init e820__print_table(char *who)
190
191
int i ;
191
192
192
193
for (i = 0 ; i < e820_table -> nr_entries ; i ++ ) {
193
- pr_info ("%s: [mem %#018Lx-%#018Lx] " , who ,
194
- e820_table -> entries [i ].addr ,
195
- e820_table -> entries [i ].addr + e820_table -> entries [i ].size - 1 );
194
+ pr_info ("%s: [mem %#018Lx-%#018Lx] " ,
195
+ who ,
196
+ e820_table -> entries [i ].addr ,
197
+ e820_table -> entries [i ].addr + e820_table -> entries [i ].size - 1 );
196
198
197
199
e820_print_type (e820_table -> entries [i ].type );
198
200
pr_cont ("\n" );
@@ -574,7 +576,7 @@ void __init e820__update_table_print(void)
574
576
if (e820__update_table (e820_table ))
575
577
return ;
576
578
577
- pr_info ("e820: modified physical RAM map:\n" );
579
+ pr_info ("modified physical RAM map:\n" );
578
580
e820__print_table ("modified" );
579
581
}
580
582
@@ -636,9 +638,8 @@ __init void e820__setup_pci_gap(void)
636
638
if (!found ) {
637
639
#ifdef CONFIG_X86_64
638
640
gapstart = (max_pfn << PAGE_SHIFT ) + 1024 * 1024 ;
639
- pr_err (
640
- "e820: Cannot find an available gap in the 32-bit address range\n"
641
- "e820: PCI devices with unassigned 32-bit BARs may not work!\n" );
641
+ pr_err ("Cannot find an available gap in the 32-bit address range\n" );
642
+ pr_err ("PCI devices with unassigned 32-bit BARs may not work!\n" );
642
643
#else
643
644
gapstart = 0x10000000 ;
644
645
#endif
@@ -649,7 +650,8 @@ __init void e820__setup_pci_gap(void)
649
650
*/
650
651
pci_mem_start = gapstart ;
651
652
652
- pr_info ("e820: [mem %#010lx-%#010lx] available for PCI devices\n" , gapstart , gapstart + gapsize - 1 );
653
+ pr_info ("[mem %#010lx-%#010lx] available for PCI devices\n" ,
654
+ gapstart , gapstart + gapsize - 1 );
653
655
}
654
656
655
657
/*
@@ -711,7 +713,7 @@ void __init e820__memory_setup_extended(u64 phys_addr, u32 data_len)
711
713
memcpy (e820_table_firmware , e820_table , sizeof (* e820_table_firmware ));
712
714
713
715
early_memunmap (sdata , data_len );
714
- pr_info ("e820: extended physical RAM map:\n" );
716
+ pr_info ("extended physical RAM map:\n" );
715
717
e820__print_table ("extended" );
716
718
}
717
719
@@ -780,7 +782,7 @@ u64 __init e820__memblock_alloc_reserved(u64 size, u64 align)
780
782
addr = __memblock_alloc_base (size , align , MEMBLOCK_ALLOC_ACCESSIBLE );
781
783
if (addr ) {
782
784
e820__range_update_kexec (addr , size , E820_TYPE_RAM , E820_TYPE_RESERVED );
783
- pr_info ("e820: update e820_table_kexec for e820__memblock_alloc_reserved()\n" );
785
+ pr_info ("update e820_table_kexec for e820__memblock_alloc_reserved()\n" );
784
786
e820__update_table_kexec ();
785
787
}
786
788
@@ -830,8 +832,8 @@ static unsigned long __init e820_end_pfn(unsigned long limit_pfn, enum e820_type
830
832
if (last_pfn > max_arch_pfn )
831
833
last_pfn = max_arch_pfn ;
832
834
833
- pr_info ("e820: last_pfn = %#lx max_arch_pfn = %#lx\n" ,
834
- last_pfn , max_arch_pfn );
835
+ pr_info ("last_pfn = %#lx max_arch_pfn = %#lx\n" ,
836
+ last_pfn , max_arch_pfn );
835
837
return last_pfn ;
836
838
}
837
839
@@ -1005,7 +1007,7 @@ void __init e820__finish_early_params(void)
1005
1007
if (e820__update_table (e820_table ) < 0 )
1006
1008
early_panic ("Invalid user supplied memory map" );
1007
1009
1008
- pr_info ("e820: user-defined physical RAM map:\n" );
1010
+ pr_info ("user-defined physical RAM map:\n" );
1009
1011
e820__print_table ("user" );
1010
1012
}
1011
1013
}
@@ -1238,7 +1240,7 @@ void __init e820__memory_setup(void)
1238
1240
memcpy (e820_table_kexec , e820_table , sizeof (* e820_table_kexec ));
1239
1241
memcpy (e820_table_firmware , e820_table , sizeof (* e820_table_firmware ));
1240
1242
1241
- pr_info ("e820: BIOS-provided physical RAM map:\n" );
1243
+ pr_info ("BIOS-provided physical RAM map:\n" );
1242
1244
e820__print_table (who );
1243
1245
}
1244
1246
0 commit comments