Greg Ungerer
6806bfe18f
ARM: 5740/1: fix valid_phys_addr_range() range check
...
Commit 1522ac3ec95ff0230e7aa516f86b674fdf72866c
("Fix virtual to physical translation macro corner cases")
breaks the end of memory check in valid_phys_addr_range().
The modified expression results in the apparent /dev/mem size
being 2 bytes smaller than what it actually is.
This patch reworks the expression to correctly check the address,
while maintaining use of a valid address to __pa().
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2009-10-02 22:32:34 +01:00
..
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2009-05-30 14:00:18 +01:00
2008-09-01 12:06:34 +01:00
2006-09-28 20:15:46 +01:00
2005-04-16 15:20:36 -07:00
2008-09-01 12:06:34 +01:00
2009-07-24 12:32:56 +01:00
2009-03-25 13:10:01 +02:00
2009-03-28 22:39:30 -04:00
2008-09-06 12:10:45 +01:00
2008-11-28 23:20:39 +00:00
2008-11-28 23:20:39 +00:00
2006-06-30 19:25:36 +02:00
2008-11-28 23:20:39 +00:00
2009-04-30 20:12:47 +01:00
2009-07-24 12:32:56 +01:00
2009-03-15 21:01:21 -04:00
2009-09-24 09:34:49 +09:30
2009-03-25 13:10:01 +02:00
2009-03-12 21:33:03 +00:00
2009-03-12 21:33:03 +00:00
2009-03-12 21:33:03 +00:00
2009-03-12 21:33:03 +00:00
2009-03-12 21:33:03 +00:00
2008-11-27 23:53:48 +00:00
2009-03-12 21:33:03 +00:00
2009-03-12 21:33:03 +00:00
2008-07-24 10:47:14 -07:00
2009-07-24 12:35:02 +01:00
2008-09-06 11:35:55 +01:00
2009-01-28 16:55:00 +00:00
2009-09-20 16:53:40 +01:00
2006-09-27 16:13:48 +01:00
2009-09-24 09:34:49 +09:30
2009-09-04 19:20:07 +01:00
2009-09-24 21:22:33 +01:00
2008-09-06 12:10:45 +01:00
2009-05-19 08:23:49 +03:00
2009-09-15 22:06:38 +01:00
2009-03-26 23:10:11 +00:00
2009-03-15 21:01:20 -04:00
2009-10-02 22:32:34 +01:00
2009-09-28 18:06:20 +01:00
2009-07-24 12:35:03 +01:00
2008-11-27 12:37:59 +00:00
2008-10-01 16:41:10 +01:00
2008-10-01 16:41:10 +01:00
2008-10-01 16:41:10 +01:00
2008-10-01 16:41:10 +01:00
2008-10-01 16:41:10 +01:00
2008-10-01 16:41:10 +01:00
2008-10-01 16:41:10 +01:00
2008-10-01 16:41:10 +01:00
2008-10-01 16:41:10 +01:00
2008-10-01 16:41:10 +01:00
2008-10-01 16:41:10 +01:00
2008-10-01 16:41:10 +01:00
2008-10-01 16:41:10 +01:00
2008-10-01 16:41:10 +01:00
2008-10-01 16:41:10 +01:00
2009-03-25 13:10:01 +02:00
2008-10-09 21:33:07 +01:00
2009-09-12 12:02:26 +01:00
2009-03-23 10:11:34 +08:00
2008-10-01 16:41:10 +01:00
2008-10-01 16:41:10 +01:00
2009-07-05 15:25:00 +01:00
2009-05-30 14:00:18 +01:00
2009-07-24 12:35:06 +01:00
2008-12-02 14:42:40 +08:00
2009-09-15 09:37:12 -07:00
2009-03-25 13:10:01 +02:00
2005-09-09 21:08:59 +02:00
2005-09-09 21:08:59 +02:00
2005-09-09 21:08:59 +02:00
2005-09-09 21:08:59 +02:00
2009-04-27 19:51:58 -07:00
2009-05-30 14:00:14 +01:00