• Jesper Juhl's avatar
    [PATCH] Make loglevels in init/main.c a little more sane. · 5547e08a
    Jesper Juhl authored
    This patch modifies a few of the printk() loglevels used in init/main.c in
    an attempt to make them a bit more appropriate.
    
    The default loglevel is KERN_WARNING, but a few printk's without explicit
    loglevel are not (in my oppinion) warnings, so add proper warning levels -
    for instance; telling the user how many CPU's were brought up is hardly a
    warning, make it KERN_INFO instead.  The initial printing of linux_banner
    is not a warning condition, I'd say it's more of a NOTICE or even INFO
    condition - I've made it KERN_NOTICE just as the printing of the kernel
    command line.  A few printk's without explicit loglevel do match the
    default one, but I've made them explicit (the default could change in the
    future, and if it does then explicitly setting the proper loglevel is a
    nice thing).
    Signed-off-by: default avatarJesper Juhl <juhl-lkml@dif.dk>
    Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
    5547e08a
main.c 16.3 KB