Setting reboot type at run time for ARM
From: Arun Ramamurthy
Date: Tue Mar 17 2015 - 17:44:32 EST
Hello
I would like to specify a reset type just before issuing the reboot
command in the kernel. I know the kernel command line parameter can be
set as "reboot=w" to indicate warm reset but I want to be able to decide
this at run time before issuing a reboot command. What would be the best
way to implement this? Modify the reboot command
to accept a parameter or is there a standard hook I can use?
Arun Ramamurthy
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/