Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Linux-Kernel
libevl
Commits
8386dba2
Commit
8386dba2
authored
Dec 12, 2020
by
Philippe Gerum
Browse files
tests: observable-hm: T_WOLI might be preset
Signed-off-by:
Philippe Gerum
<
rpm@xenomai.org
>
parent
f6587742
Changes
1
Hide whitespace changes
Inline
Side-by-side
tests/observable-hm.c
View file @
8386dba2
...
...
@@ -46,7 +46,11 @@ int main(int argc, char *argv[])
/* Enable stage switch notifications only via observable. */
__Tcall_assert
(
ret
,
evl_set_thread_mode
(
tfd
,
T_WOSS
|
T_HMOBS
,
&
oldmask
));
__Texpr_assert
(
oldmask
==
0
);
/*
* Starts with no mode bit set, except maybe T_WOLI if
* CONFIG_EVL_DEBUG_WOLI is enabled.
*/
__Texpr_assert
((
oldmask
&
~
T_WOLI
)
==
0
);
/*
* We are still in-band in the wake of evl_subscribe(), switch
...
...
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