In case of RaspberryPi the CPU is reset by watchdog triggered from
the bcm2835_restart_notifier_call function. Tizen notifier needs higher
priority to be called before the watchdog.
Change-Id: Ia7f6d895f6f40d1a9b4e57ad41b5bdb55c94f4f2
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
}
static struct notifier_block nb_inform_reboot_block = {
- .notifier_call = inform_reboot_notifier
+ .notifier_call = inform_reboot_notifier,
+ .priority = 256,
};
static int __init inform_reboot_init(void)