[PATCH 39/41] ARM: restart: lpc32xx & u300: remove unnecessary printk

Russell King - ARM Linux linux at arm.linux.org.uk
Fri Nov 11 14:00:14 EST 2011


On Fri, Nov 11, 2011 at 07:46:41PM +0100, Linus Walleij wrote:
> On Sun, Nov 6, 2011 at 6:53 PM, Russell King - ARM Linux
> <linux at arm.linux.org.uk> wrote:
> 
> > Remove the:
> >        KERN_CRIT "RESET: Rebooting system\n" (lpc32xx)
> >        KERN_CRIT "RESET: shutting down/rebooting system\n" (u300)
> >
> > printk from the restart handler; we already print such a message from
> > kernel_restart() in kernel/sys.c:
> >
> >        KERN_EMERG "Restarting system.\n"
> >
> > so this is unnecessary.
> >
> > Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>
> 
> Acked-by: Linus Walleij <linus.walleij at linaro.org>

Thanks.  Could you look at what's required for Nomadik please?  I couldn't
see am obvious file to move the arch_reset code from mach/system.h into,
nor could I see a local header file to put the new prototype into.



More information about the linux-arm-kernel mailing list