David Howells
08dc179b9b
frv: fix kernel/user segment handling in NOMMU mode
...
In NOMMU mode, the FRV segment handling is broken because KERNEL_DS ==
USER_DS. This causes tests of the following sort:
/* don't pin down non-user-based iovecs */
if (segment_eq(get_fs(), KERNEL_DS))
return NULL;
to malfunction.
To fix this, make USER_DS the top of RAM instead of the top of the non-IO
address space, and make KERNEL_DS one more than the top of the non-IO
address space.
Also get rid of FRV's __addr_ok() as nothing uses it.
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-04-07 08:38:05 -07:00
..
2009-12-12 13:08:14 +01:00
2009-07-01 19:38:09 -07:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-06-11 09:01:26 -07:00
2009-06-11 21:02:14 +02:00
2009-04-27 08:04:49 -07:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-11-26 09:16:19 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2010-03-12 15:52:42 -08:00
2009-04-10 01:48:06 +01:00
2009-12-16 07:20:12 -08:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-09-23 10:05:22 -07:00
2009-04-10 01:48:06 +01:00
2009-09-23 10:15:21 -07:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-09-22 07:17:42 -07:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2010-01-06 18:16:02 -08:00
2009-04-10 01:48:06 +01:00
2010-03-12 15:52:42 -08:00
2009-04-10 01:48:06 +01:00
2009-09-21 14:28:04 +02:00
2009-07-27 12:10:38 -07:00
2010-02-20 16:41:46 +00:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2010-03-12 15:52:38 -08:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2010-04-07 08:38:05 -07:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-06-13 13:17:28 -07:00
2009-04-10 01:48:06 +01:00
2009-10-12 13:26:31 -07:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-06-11 09:01:26 -07:00
2009-07-01 19:38:09 -07:00
2009-04-10 01:48:06 +01:00
2009-06-11 21:01:52 +02:00
2009-07-10 14:24:05 -07:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2010-04-07 08:38:05 -07:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2010-03-12 15:52:32 -08:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00
2009-04-10 01:48:06 +01:00