[PATCH -v8 11/11] Move arch/x86 reboot= handling to generic kernel.

Russell King - ARM Linux linux at arm.linux.org.uk
Wed May 8 14:23:05 EDT 2013


On Tue, May 07, 2013 at 09:39:55AM -0500, Robin Holt wrote:
> +		case 's':
> +			reboot_mode = REBOOT_WARM;
> +		case 'h':
> +			reboot_mode = REBOOT_COLD;
> +		case 'g':
> +			reboot_mode = REBOOT_GPIO;

Further to Ingo's comments, also note that the above is broken.  Any
of s,h,g will result in REBOOT_GPIO being set which is clearly wrong.



More information about the linux-arm-kernel mailing list