Commit 3d00792c authored by Philippe Gerum's avatar Philippe Gerum Committed by Jan Kiszka
Browse files

ipipe: notifier: enable atomic call from the head stage

parent eefe5e62
......@@ -6,6 +6,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
......@@ -195,6 +196,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