[ARM] pass reboot command line to arch_reset()
authorRussell King <rmk@dyn-67.arm.linux.org.uk>
Thu, 19 Mar 2009 16:20:24 +0000 (16:20 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 19 Mar 2009 16:20:24 +0000 (16:20 +0000)
commitbe093beb608edf821b45fe00a8a080fb5c6ed4af
tree05751248a909761dab9ccb29fd08bf2c5683ef0d
parent14b6848bc0134b8838d374c423df3edda9b1490e
[ARM] pass reboot command line to arch_reset()

OMAP wishes to pass state to the boot loader upon reboot in order to
instruct it whether to wait for USB-based reflashing or not.  There is
already a facility to do this via the reboot() syscall, except we ignore
the string passed to machine_restart().

This patch fixes things to pass this string to arch_reset().  This means
that we keep the reboot mode limited to telling the kernel _how_ to
perform the reboot which should be independent of what we request the
boot loader to do.

Acked-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
50 files changed:
arch/arm/include/asm/system.h
arch/arm/kernel/process.c
arch/arm/mach-aaec2000/include/mach/system.h
arch/arm/mach-at91/include/mach/system.h
arch/arm/mach-clps711x/include/mach/system.h
arch/arm/mach-davinci/include/mach/system.h
arch/arm/mach-ebsa110/include/mach/system.h
arch/arm/mach-ep93xx/include/mach/system.h
arch/arm/mach-footbridge/include/mach/system.h
arch/arm/mach-h720x/include/mach/system.h
arch/arm/mach-imx/include/mach/system.h
arch/arm/mach-integrator/include/mach/system.h
arch/arm/mach-iop13xx/include/mach/system.h
arch/arm/mach-iop32x/include/mach/system.h
arch/arm/mach-iop33x/include/mach/system.h
arch/arm/mach-ixp2000/include/mach/system.h
arch/arm/mach-ixp23xx/include/mach/system.h
arch/arm/mach-ixp4xx/include/mach/system.h
arch/arm/mach-kirkwood/include/mach/system.h
arch/arm/mach-ks8695/include/mach/system.h
arch/arm/mach-l7200/include/mach/system.h
arch/arm/mach-lh7a40x/include/mach/system.h
arch/arm/mach-loki/include/mach/system.h
arch/arm/mach-msm/include/mach/system.h
arch/arm/mach-mv78xx0/include/mach/system.h
arch/arm/mach-mx2/system.c
arch/arm/mach-netx/include/mach/system.h
arch/arm/mach-ns9xxx/include/mach/system.h
arch/arm/mach-orion5x/include/mach/system.h
arch/arm/mach-orion5x/lsmini-setup.c
arch/arm/mach-pnx4008/include/mach/system.h
arch/arm/mach-pxa/corgi.c
arch/arm/mach-pxa/include/mach/system.h
arch/arm/mach-pxa/mioa701.c
arch/arm/mach-pxa/poodle.c
arch/arm/mach-pxa/reset.c
arch/arm/mach-pxa/spitz.c
arch/arm/mach-pxa/tosa.c
arch/arm/mach-realview/include/mach/system.h
arch/arm/mach-rpc/include/mach/system.h
arch/arm/mach-s3c2410/include/mach/system-reset.h
arch/arm/mach-s3c6400/include/mach/system.h
arch/arm/mach-sa1100/include/mach/system.h
arch/arm/mach-shark/core.c
arch/arm/mach-shark/include/mach/system.h
arch/arm/mach-versatile/include/mach/system.h
arch/arm/mach-w90x900/include/mach/system.h
arch/arm/plat-mxc/include/mach/system.h
arch/arm/plat-omap/include/mach/system.h
arch/arm/plat-s3c24xx/cpu.c