aboutsummaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorSteven J. Magnani2010-05-06 16:38:33 -0500
committerMichal Simek2010-05-13 09:21:14 +0200
commit538722ca3b762023ac65cec214901a1ebff8b575 (patch)
tree5d4ca0048a9351744fcfa6b5ca2cc25e090882f6 /kernel
parent0d5961b7f612f8f54fd6fbe1942cdfb141cddfb9 (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 'kernel')
0 files changed, 0 insertions, 0 deletions