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-02 10:56:11 +01:00
2011-07-02 10:56:11 +01:00
2011-07-02 10:56:11 +01:00
2011-07-02 10:56:11 +01:00
2011-07-02 10:56:11 +01:00
2011-07-02 10:56:11 +01:00
2011-07-02 10:56:12 +01:00
2011-07-02 10:56:11 +01:00
2011-07-02 10:56:11 +01:00
2011-07-02 10:56:00 +01:00
2011-07-07 15:31:05 +01:00
2010-12-19 12:57:16 -05:00
2011-07-06 20:48:08 +01:00
2009-11-27 15:43:21 -05:00
2011-07-07 15:31:05 +01:00
2011-07-07 15:31:06 +01:00
2011-07-07 15:31:06 +01:00
2011-07-07 15:31:06 +01:00
2011-07-07 15:31:06 +01:00
2011-07-07 15:31:06 +01:00
2010-12-19 12:57:08 -05:00
2011-06-09 10:13:16 +01:00
2010-04-27 12:45:10 +02:00
2010-06-08 19:42:18 +01:00
2009-10-05 15:17:45 +01:00
2010-09-19 12:17:43 +01:00
2010-06-08 19:42:18 +01:00
2010-06-08 19:42:18 +01:00
2011-07-08 19:46:37 +01:00
2010-06-08 19:42:18 +01:00
2010-09-19 12:17:43 +01:00
2011-07-12 11:08:12 +01:00
2011-02-21 19:24:14 +00:00
2011-07-24 10:20:54 -07:00
2011-05-23 19:27:40 +01:00
2010-12-19 12:56:46 -05:00
2011-02-21 19:24:14 +00:00
2011-08-09 08:42:38 +01:00
2011-07-12 11:19:29 -05:00
2010-12-24 09:49:52 +00:00
2011-07-26 17:41:04 -07:00
2011-02-02 21:23:26 +00:00
2011-07-12 11:08:12 +01:00
2011-04-14 09:15:24 +01:00
2011-07-05 20:27:16 +01:00
2011-07-05 20:27:16 +01:00
2011-07-02 10:56:10 +01:00
2011-07-02 10:56:10 +01:00
2011-07-02 10:56:10 +01:00
2011-03-20 09:32:12 +00:00
2011-07-22 23:09:07 +01:00
2011-07-07 15:31:08 +01:00
2011-07-07 15:31:09 +01:00
2011-07-07 15:31:07 +01:00
2011-07-07 15:31:08 +01:00
2011-07-21 17:49:54 +01:00
2011-07-07 15:31:08 +01:00
2011-07-07 15:31:09 +01:00
2011-07-21 17:49:54 +01:00
2011-07-07 15:31:09 +01:00
2011-08-09 08:42:38 +01:00
2011-07-07 15:31:07 +01:00
2011-07-07 15:31:07 +01:00
2011-07-07 15:31:07 +01:00
2011-07-07 15:31:07 +01:00
2011-07-07 15:31:09 +01:00
2011-07-07 15:31:10 +01:00
2011-07-21 17:49:54 +01:00
2011-07-07 15:31:10 +01:00
2011-07-07 15:31:10 +01:00
2011-07-22 23:09:07 +01:00
2009-12-14 14:53:22 +00:00
2011-07-21 17:49:54 +01:00
2011-07-21 17:49:54 +01:00
2011-07-26 17:12:10 -07:00
2011-07-21 17:49:54 +01:00
2011-07-22 23:09:07 +01:00
2011-07-07 15:31:11 +01:00
2011-07-07 15:31:12 +01:00
2011-07-07 15:31:12 +01:00
2011-07-07 15:31:12 +01:00
2011-07-22 23:09:07 +01:00
2011-07-22 23:09:07 +01:00
2011-02-23 17:24:11 +00:00
2010-07-27 10:43:48 +01:00