diff options
author | Joe Perches <joe@perches.com> | 2014-12-10 18:59:56 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2014-12-10 20:41:10 -0500 |
commit | 4b3ed6148521ff11c2b3acb5c983c0080c67d856 (patch) | |
tree | 0a21a46308e557be8c9604a9ac176bc4aae070d8 /arch/tile | |
parent | 1dc6244bd6d4f62239487fb0befc41c63e117290 (diff) |
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>
Diffstat (limited to 'arch/tile')
-rw-r--r-- | arch/tile/kernel/setup.c | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/arch/tile/kernel/setup.c b/arch/tile/kernel/setup.c index b9736ded06f2..6471cc55bf05 100644 --- a/arch/tile/kernel/setup.c +++ b/arch/tile/kernel/setup.c | |||
@@ -1208,9 +1208,8 @@ static void __init validate_hv(void) | |||
1208 | * We use a struct cpumask for this, so it must be big enough. | 1208 | * We use a struct cpumask for this, so it must be big enough. |
1209 | */ | 1209 | */ |
1210 | if ((smp_height * smp_width) > nr_cpu_ids) | 1210 | if ((smp_height * smp_width) > nr_cpu_ids) |
1211 | early_panic("Hypervisor %d x %d grid too big for Linux" | 1211 | early_panic("Hypervisor %d x %d grid too big for Linux NR_CPUS %d\n", |
1212 | " NR_CPUS %d\n", smp_height, smp_width, | 1212 | smp_height, smp_width, nr_cpu_ids); |
1213 | nr_cpu_ids); | ||
1214 | #endif | 1213 | #endif |
1215 | 1214 | ||
1216 | /* | 1215 | /* |
@@ -1265,10 +1264,9 @@ static void __init validate_va(void) | |||
1265 | 1264 | ||
1266 | /* Kernel PCs must have their high bit set; see intvec.S. */ | 1265 | /* Kernel PCs must have their high bit set; see intvec.S. */ |
1267 | if ((long)VMALLOC_START >= 0) | 1266 | if ((long)VMALLOC_START >= 0) |
1268 | early_panic( | 1267 | early_panic("Linux VMALLOC region below the 2GB line (%#lx)!\n" |
1269 | "Linux VMALLOC region below the 2GB line (%#lx)!\n" | 1268 | "Reconfigure the kernel with smaller VMALLOC_RESERVE\n", |
1270 | "Reconfigure the kernel with smaller VMALLOC_RESERVE.\n", | 1269 | VMALLOC_START); |
1271 | VMALLOC_START); | ||
1272 | #endif | 1270 | #endif |
1273 | } | 1271 | } |
1274 | 1272 | ||