Steven J. Magnani
538722ca3b
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>
2010-05-13 09:21:14 +02:00
..
2009-09-22 10:10:06 +02:00
2009-12-12 13:08:14 +01:00
2009-07-06 10:26:55 +02:00
2009-04-14 10:37:09 +02:00
2009-07-06 10:26:55 +02:00
2009-06-11 21:02:14 +02:00
2009-07-06 10:26:55 +02:00
2009-07-06 10:26:55 +02:00
2009-03-27 14:25:36 +01:00
2010-05-06 11:21:59 +02:00
2009-12-14 08:45:10 +01:00
2009-07-06 10:26:52 +02:00
2009-03-27 14:25:38 +01:00
2009-12-14 08:44:58 +01:00
2009-04-14 10:37:09 +02:00
2009-03-27 14:25:41 +01:00
2009-05-26 16:45:19 +02:00
2009-03-27 14:25:27 +01:00
2010-03-11 13:56:29 +01:00
2009-03-27 14:25:41 +01:00
2010-03-11 13:58:11 +01:00
2010-05-06 11:21:58 +02:00
2009-12-16 07:20:12 -08:00
2009-03-27 14:25:41 +01:00
2009-10-29 22:34:15 +09:00
2009-03-27 14:25:41 +01:00
2010-05-06 11:21:58 +02:00
2009-07-06 10:26:55 +02:00
2009-03-27 14:25:45 +01:00
2009-06-02 07:54:36 +02:00
2009-12-14 08:44:01 +01:00
2010-04-07 07:27:25 +02:00
2009-05-21 15:56:04 +02:00
2009-08-18 10:33:29 +02:00
2009-04-14 10:37:09 +02:00
2010-05-06 11:21:58 +02:00
2009-03-27 14:25:33 +01:00
2009-07-06 10:26:50 +02:00
2009-07-06 10:26:50 +02:00
2009-03-27 14:25:35 +01:00
2010-03-11 13:59:28 +01:00
2009-12-14 08:40:09 +01:00
2009-05-22 09:50:46 +02:00
2009-03-27 14:25:41 +01:00
2009-06-16 19:47:51 -07:00
2009-03-27 14:25:38 +01:00
2009-03-27 14:25:18 +01:00
2009-03-27 14:25:41 +01:00
2009-07-06 10:26:50 +02:00
2009-05-26 16:45:15 +02:00
2009-07-06 10:26:55 +02:00
2009-07-06 10:26:55 +02:00
2009-07-06 10:26:55 +02:00
2009-07-06 10:26:50 +02:00
2009-03-27 14:25:41 +01:00
2009-03-27 14:25:42 +01:00
2009-03-27 14:25:12 +01:00
2009-05-02 15:36:10 -07:00
2010-05-06 11:21:59 +02:00
2009-07-06 10:26:50 +02:00
2009-07-06 10:26:55 +02:00
2010-03-11 14:01:43 +01:00
2010-05-06 11:21:59 +02:00
2009-03-27 14:25:41 +01:00
2010-05-06 11:21:58 +02:00
2010-05-06 11:21:59 +02:00
2009-03-27 14:25:44 +01:00
2009-07-06 10:26:50 +02:00
2010-04-01 08:38:19 +02:00
2010-03-11 14:04:27 +01:00
2010-01-18 16:35:39 +01:00
2009-12-14 08:45:05 +01:00
2009-05-26 16:45:18 +02:00
2009-03-27 14:25:41 +01:00
2009-07-06 10:26:55 +02:00
2009-05-26 16:45:16 +02:00
2009-03-27 14:25:15 +01:00
2009-07-06 10:26:50 +02:00
2009-07-06 10:26:55 +02:00
2009-12-14 08:40:08 +01:00
2009-07-06 10:26:50 +02:00
2009-07-06 10:26:55 +02:00
2009-03-27 14:25:40 +01:00
2009-07-06 10:26:50 +02:00
2009-07-06 10:26:57 +02:00
2009-07-06 10:26:50 +02:00
2009-07-06 10:26:50 +02:00
2009-07-06 10:26:50 +02:00
2009-03-27 14:25:39 +01:00
2009-05-21 15:56:08 +02:00
2009-07-06 10:26:50 +02:00
2009-09-21 14:29:21 +02:00
2009-07-06 10:26:59 +02:00
2010-03-11 13:59:02 +01:00
2009-07-06 10:26:50 +02:00
2009-07-06 10:26:50 +02:00
2010-04-01 08:38:19 +02:00
2009-07-06 10:26:55 +02:00
2009-07-27 07:39:53 +02:00
2010-04-01 08:38:24 +02:00
2009-03-27 14:25:44 +01:00
2009-07-06 10:26:50 +02:00
2010-05-13 09:21:14 +02:00
2009-07-06 10:26:50 +02:00
2009-06-02 08:39:16 +02:00
2010-01-18 16:35:27 +01:00
2009-04-14 10:37:09 +02:00
2009-07-06 10:26:55 +02:00
2009-03-27 14:25:41 +01:00