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

Skip to content
Commit 41b7602e authored by Michal Simek's avatar Michal Simek
Browse files

microblaze: Fix access_ok macro



There is the problem with bit OR (|) because for
some combination is addr | size | addr+size equal
to seq.

For standard kernel setting (kernel starts at 0xC0000000)
is seq for user space 0xBFFFFFFF and everything below
this limit is fine.

But even address 0xBFFFFFFF is fine because it
is below kernel space.

Signed-off-by: default avatarAndrew Fedonczuk <andrew.fedonczuk@ericsson.com>
Signed-off-by: default avatarMichal Simek <monstr@monstr.eu>
parent ebe21125
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