Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
xenomai
ipipe-arm
Commits
e2cf7b67
Commit
e2cf7b67
authored
Mar 22, 2019
by
Philippe Gerum
Browse files
ipipe: notifier: enable atomic call from the head stage
parent
52b73f86
Changes
1
Hide whitespace changes
Inline
Side-by-side
kernel/notifier.c
View file @
e2cf7b67
...
...
@@ -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
);
}
EXPORT_SYMBOL_GPL
(
atomic_notifier_call_chain
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment