Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
x86/boot: Further compress CPUs bootup message
Turn it into (for example): [ 0.073380] x86: Booting SMP configuration: [ 0.074005] .... node #0, CPUs: beagleboard#1 beagleboard#2 beagleboard#3 beagleboard#4 beagleboard#5 beagleboard#6 beagleboard#7 [ 0.603005] .... node beagleboard#1, CPUs: beagleboard#8 beagleboard#9 beagleboard#10 beagleboard#11 beagleboard#12 beagleboard#13 beagleboard#14 beagleboard#15 [ 1.200005] .... node beagleboard#2, CPUs: beagleboard#16 beagleboard#17 beagleboard#18 beagleboard#19 beagleboard#20 beagleboard#21 beagleboard#22 beagleboard#23 [ 1.796005] .... node beagleboard#3, CPUs: beagleboard#24 beagleboard#25 beagleboard#26 beagleboard#27 beagleboard#28 beagleboard#29 beagleboard#30 beagleboard#31 [ 2.393005] .... node beagleboard#4, CPUs: beagleboard#32 beagleboard#33 beagleboard#34 beagleboard#35 beagleboard#36 beagleboard#37 beagleboard#38 beagleboard#39 [ 2.996005] .... node beagleboard#5, CPUs: beagleboard#40 beagleboard#41 beagleboard#42 beagleboard#43 beagleboard#44 beagleboard#45 beagleboard#46 beagleboard#47 [ 3.600005] .... node beagleboard#6, CPUs: beagleboard#48 beagleboard#49 beagleboard#50 beagleboard#51 beagleboard#52 beagleboard#53 beagleboard#54 beagleboard#55 [ 4.202005] .... node beagleboard#7, CPUs: beagleboard#56 beagleboard#57 beagleboard#58 beagleboard#59 beagleboard#60 beagleboard#61 beagleboard#62 beagleboard#63 [ 4.811005] .... node beagleboard#8, CPUs: beagleboard#64 beagleboard#65 beagleboard#66 beagleboard#67 beagleboard#68 beagleboard#69 beagleboard#70 beagleboard#71 [ 5.421006] .... node beagleboard#9, CPUs: beagleboard#72 beagleboard#73 beagleboard#74 beagleboard#75 beagleboard#76 beagleboard#77 beagleboard#78 beagleboard#79 [ 6.032005] .... node beagleboard#10, CPUs: beagleboard#80 beagleboard#81 beagleboard#82 beagleboard#83 beagleboard#84 beagleboard#85 beagleboard#86 beagleboard#87 [ 6.648006] .... node beagleboard#11, CPUs: beagleboard#88 beagleboard#89 beagleboard#90 beagleboard#91 beagleboard#92 beagleboard#93 beagleboard#94 beagleboard#95 [ 7.262005] .... node beagleboard#12, CPUs: beagleboard#96 beagleboard#97 beagleboard#98 beagleboard#99 beagleboard#100 beagleboard#101 beagleboard#102 beagleboard#103 [ 7.865005] .... node beagleboard#13, CPUs: beagleboard#104 beagleboard#105 beagleboard#106 beagleboard#107 beagleboard#108 beagleboard#109 beagleboard#110 beagleboard#111 [ 8.466005] .... node beagleboard#14, CPUs: beagleboard#112 beagleboard#113 beagleboard#114 beagleboard#115 beagleboard#116 beagleboard#117 beagleboard#118 beagleboard#119 [ 9.073006] .... node beagleboard#15, CPUs: beagleboard#120 beagleboard#121 beagleboard#122 beagleboard#123 beagleboard#124 beagleboard#125 beagleboard#126 beagleboard#127 [ 9.679901] x86: Booted up 16 nodes, 128 CPUs and drop useless elements. Change num_digits() to hpa's division-avoiding, cell-phone-typed version which he went at great lengths and pains to submit on a Saturday evening. Signed-off-by: Borislav Petkov <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: Linus Torvalds <[email protected]> Cc: Andrew Morton <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
- Loading branch information