Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c886a9fc authored by Al Viro's avatar Al Viro
Browse files

microblaze: evict the check for kernel_mode(regs) from do_notify_resume()



Only one caller hasn't done it in assembler - work_pending on !MMU.
Everything else can't reach do_notify_resume() if we are returning
to kernel mode, so move that check to that sole caller and make
do_notify_resume() reachable only when returning to userland.

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 4a9d32d3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment