diff options
author | Steven J. Magnani <steve@digidescorp.com> | 2010-05-06 16:38:33 -0500 |
---|---|---|
committer | Michal Simek <monstr@monstr.eu> | 2010-05-13 09:21:14 +0200 |
commit | 538722ca3b762023ac65cec214901a1ebff8b575 (patch) | |
tree | 5d4ca0048a9351744fcfa6b5ca2cc25e090882f6 /arch/microblaze/mm | |
parent | 0d5961b7f612f8f54fd6fbe1942cdfb141cddfb9 (diff) |
microblaze: fix get_user/put_user side-effects
The Microblaze implementations of get_user() and (MMU) put_user() evaluate
the address argument more than once. This causes unexpected side-effects for
invocations that include increment operators, i.e. get_user(foo, bar++).
This patch also removes the distinction between MMU and noMMU put_user().
Without the patch:
$ echo 1234567890 > /proc/sys/kernel/core_pattern
$ cat /proc/sys/kernel/core_pattern
12345
Signed-off-by: Steven J. Magnani <steve@digidescorp.com>
Diffstat (limited to 'arch/microblaze/mm')
0 files changed, 0 insertions, 0 deletions