Re: [RFC PATCH 3/6] arm: Support restart through restart notifier call chain

2014-06-30 Thread Russell King - ARM Linux
On Mon, Jun 30, 2014 at 12:11:36PM -0700, Guenter Roeck wrote: > The kernel core now supports a notifier call chain for system > restart functions. > > With this change, the arm_pm_restart callback is now optional, > so check if it is set before calling it. > > Signed-off-by: Guenter Roeck > ---

[RFC PATCH 3/6] arm: Support restart through restart notifier call chain

2014-06-30 Thread Guenter Roeck
The kernel core now supports a notifier call chain for system restart functions. With this change, the arm_pm_restart callback is now optional, so check if it is set before calling it. Signed-off-by: Guenter Roeck --- arch/arm/kernel/process.c | 6 +- 1 file changed, 5 insertions(+), 1 dele