Jamie Iles
bf912d99e9
ARM: 7010/1: mm: fix invalid loop for poison_init_mem
...
poison_init_mem() used a loop of:
while ((count = count - 4))
which has 2 problems - an off by one error so that we do one less word
than we should, and the other is that if count == 0 then we loop forever
and poison too much. On a platform with HAVE_TCM=y but nothing in the
TCM's, this caused corruption and the platform failed to boot.
Acked-by: Stephen Boyd <sboyd@codeaurora.org>
Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Signed-off-by: Jamie Iles <jamie@jamieiles.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2011-08-09 08:42:38 +01:00
..
2011-07-28 15:25:46 +00:00
2011-07-29 23:35:05 -07:00
2011-07-26 17:41:04 -07:00
2011-07-29 23:35:05 -07:00
2011-08-04 08:24:29 +01:00
2011-07-12 11:19:27 -05:00
2011-07-29 23:32:53 -07:00
2011-07-26 17:12:10 -07:00
2011-03-29 14:47:58 +02:00
2011-07-29 23:35:05 -07:00
2011-07-26 17:41:04 -07:00
2011-07-29 23:35:05 -07:00
2011-03-29 14:47:58 +02:00
2011-07-26 17:12:10 -07:00
2011-07-26 17:41:04 -07:00
2011-07-29 23:35:05 -07:00
2011-05-27 20:06:53 -07:00
2011-07-22 23:09:07 +01:00
2011-07-27 09:31:45 +08:00
2011-07-29 23:35:05 -07:00
2011-07-29 23:35:05 -07:00
2011-07-29 23:35:05 -07:00
2011-07-29 23:35:05 -07:00
2011-07-29 23:35:05 -07:00
2011-07-29 23:35:05 -07:00
2011-07-29 23:35:05 -07:00
2011-07-29 23:35:05 -07:00
2011-07-29 23:35:05 -07:00
2010-10-20 00:27:33 -04:00
2011-07-26 17:41:04 -07:00
2011-07-26 17:41:04 -07:00
2011-08-01 15:16:05 +01:00
2011-07-29 23:35:05 -07:00
2011-07-27 09:31:45 +08:00
2011-07-26 17:41:04 -07:00
2011-05-26 10:33:34 +01:00
2011-07-19 18:09:45 +02:00
2011-07-26 17:12:10 -07:00
2011-07-26 17:12:10 -07:00
2011-08-01 06:13:05 -10:00
2011-07-29 23:35:05 -07:00
2011-07-26 17:12:10 -07:00
2011-07-09 07:21:53 +08:00
2011-07-29 23:35:05 -07:00
2011-07-22 23:09:07 +01:00
2011-05-07 00:08:02 -04:00
2011-07-26 17:41:04 -07:00
2011-07-18 10:59:26 -04:00
2011-07-26 17:41:04 -07:00
2011-07-25 12:43:28 -07:00
2011-07-25 12:38:42 -07:00
2011-07-26 16:49:47 -07:00
2011-07-20 19:11:29 +09:00
2011-07-26 17:41:04 -07:00
2011-07-21 17:28:23 +09:00
2011-07-26 17:41:04 -07:00
2011-07-29 23:35:05 -07:00
2011-07-29 23:35:05 -07:00
2011-08-01 06:10:16 -10:00
2011-07-19 18:09:45 +02:00
2011-07-19 18:09:45 +02:00
2011-05-23 18:04:51 +01:00
2011-07-29 23:35:05 -07:00
2011-07-26 17:41:04 -07:00
2011-07-26 17:41:04 -07:00
2011-07-29 23:35:05 -07:00
2011-07-22 23:08:48 +01:00
2011-07-07 14:35:25 +00:00
2011-07-19 18:09:45 +02:00
2011-07-28 16:02:53 +00:00
2011-08-09 08:42:38 +01:00
2010-10-18 11:03:21 +02:00
2011-02-15 10:18:48 -08:00
2011-07-12 11:19:29 -05:00
2011-07-27 09:31:45 +08:00
2011-06-21 19:17:20 -07:00
2011-07-26 17:42:18 -07:00
2011-07-07 16:02:26 +00:00
2011-07-20 17:20:52 -04:00
2011-07-25 12:43:28 -07:00
2011-07-26 17:41:04 -07:00
2011-07-26 17:41:04 -07:00
2011-07-26 17:12:10 -07:00
2011-07-19 18:09:45 +02:00
2011-05-23 16:53:17 +01:00
2011-05-14 21:36:55 +01:00
2011-07-22 23:09:07 +01:00
2011-07-28 15:25:46 +00:00
2011-03-31 11:26:23 -03:00
2011-05-25 08:39:54 -07:00
2011-07-28 15:25:46 +00:00