summaryrefslogtreecommitdiff
path: root/arch/microblaze/kernel/cpu/cpuinfo.c
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2011-07-28 13:23:37 (GMT)
committerMichal Simek <monstr@monstr.eu>2011-10-14 10:24:27 (GMT)
commit41b7602ed17a6bbb3b3d33087c39ef5c3a5589c7 (patch)
treeb19f00fed217236240de03937741047e51a54016 /arch/microblaze/kernel/cpu/cpuinfo.c
parentebe211254bfa6295f4ab0b33c7c881bdfabbab60 (diff)
downloadlinux-41b7602ed17a6bbb3b3d33087c39ef5c3a5589c7.tar.xz
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: Andrew Fedonczuk <andrew.fedonczuk@ericsson.com> Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'arch/microblaze/kernel/cpu/cpuinfo.c')
0 files changed, 0 insertions, 0 deletions