Commit e2cf7b67 authored by Philippe Gerum's avatar Philippe Gerum
Browse files

ipipe: notifier: enable atomic call from the head stage

parent 52b73f86
......@@ -5,6 +5,7 @@
#include <linux/rcupdate.h>
#include <linux/vmalloc.h>
#include <linux/reboot.h>
#include <linux/ipipe.h>
* Notifier list for kernel code which wants to be called
......@@ -190,6 +191,9 @@ NOKPROBE_SYMBOL(__atomic_notifier_call_chain);
int atomic_notifier_call_chain(struct atomic_notifier_head *nh,
unsigned long val, void *v)
if (!ipipe_root_p)
return notifier_call_chain(&nh->head, val, v, -1, NULL);
return __atomic_notifier_call_chain(nh, val, v, -1, NULL);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment