diff options
author | Michal Simek <monstr@monstr.eu> | 2009-07-21 12:48:01 +0200 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2009-07-27 09:03:15 +0200 |
commit | 3863dbceac7e69642b95f43de1c12c6236fdbe5b (patch) | |
tree | d6e9a0d01784ca1c9e321971a3571fe2bf8b17dc /kernel/futex.c | |
parent | microblaze: Detect new Microblaze 7.20 versions (diff) | |
download | linux-3863dbceac7e69642b95f43de1c12c6236fdbe5b.tar.xz linux-3863dbceac7e69642b95f43de1c12c6236fdbe5b.zip |
microblaze: Support unaligned address for put/get_user macros
This patch add support for cases where load/store instruction
in put/get_user macro gets unaligned pointer to data and this
address is not valid. I prevent all cases which can failed.
I had to disable first stage of unaligned handler which is used
only for noMMU kernel and the whole work is done when interrupt
is enabled.
You have enable HW support for detect unaligned access in Microblaze.
This patch fixed three LTP tests:
getpeername01, getsockname01, socketpair01
Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'kernel/futex.c')
0 files changed, 0 insertions, 0 deletions