tile: neaten early_printk uses
Coalesce the formats and align arguments. Signed-off-by: Joe Perches <joe@perches.com> Acked-by: Chris Metcalf <cmetcalf@tilera.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
Родитель
1dc6244bd6
Коммит
4b3ed61485
|
@ -1208,9 +1208,8 @@ static void __init validate_hv(void)
|
|||
* We use a struct cpumask for this, so it must be big enough.
|
||||
*/
|
||||
if ((smp_height * smp_width) > nr_cpu_ids)
|
||||
early_panic("Hypervisor %d x %d grid too big for Linux"
|
||||
" NR_CPUS %d\n", smp_height, smp_width,
|
||||
nr_cpu_ids);
|
||||
early_panic("Hypervisor %d x %d grid too big for Linux NR_CPUS %d\n",
|
||||
smp_height, smp_width, nr_cpu_ids);
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
@ -1265,10 +1264,9 @@ static void __init validate_va(void)
|
|||
|
||||
/* Kernel PCs must have their high bit set; see intvec.S. */
|
||||
if ((long)VMALLOC_START >= 0)
|
||||
early_panic(
|
||||
"Linux VMALLOC region below the 2GB line (%#lx)!\n"
|
||||
"Reconfigure the kernel with smaller VMALLOC_RESERVE.\n",
|
||||
VMALLOC_START);
|
||||
early_panic("Linux VMALLOC region below the 2GB line (%#lx)!\n"
|
||||
"Reconfigure the kernel with smaller VMALLOC_RESERVE\n",
|
||||
VMALLOC_START);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче