[PATCH v3] printk: add option to print cpu id

Aaro Koskinen aaro.koskinen at iki.fi
Fri Aug 3 16:08:22 EDT 2012


Hi,

On Fri, Aug 03, 2012 at 11:25:37AM -0700, Pandita, Vikram wrote:
> > And really: Wasting 1/3 of the 80 character line is too much.
> 
> You _WASTE_ 4 chars only if you are interested in this info by
> enabling: CONFIG_PRINTK_CPUID

I guess you waste 4 + 3 chars? You could optimize the length by checking
CONFIG_NR_CPUS?

A.



More information about the linux-arm-kernel mailing list