linux-stable-rt/arch/frv/include/asm
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
..
Kbuild
asm-offsets.h kbuild: move asm-offsets.h to include/generated 2009-12-12 13:08:14 +01:00
atomic.h
auxvec.h
ax88796.h
bitops.h
bitsperlong.h
bug.h
bugs.h
busctl-regs.h
byteorder.h
cache.h
cacheflush.h
checksum.h
cpu-irqs.h
cpumask.h
cputime.h
current.h
delay.h
device.h
div64.h
dm9000.h
dma-mapping.h dma-mapping: frv: remove the obsolete and unnecessary DMA API comments 2010-03-12 15:52:42 -08:00
dma.h
elf.h elf: kill USE_ELF_CORE_DUMP 2009-12-16 07:20:12 -08:00
emergency-restart.h
errno.h
fb.h
fcntl.h
fpu.h
ftrace.h
futex.h
gdb-stub.h
gpio-regs.h
hardirq.h
highmem.h
hw_irq.h
io.h
ioctl.h
ioctls.h
ipcbuf.h
irc-regs.h
irq.h
irq_regs.h
kdebug.h
kmap_types.h
linkage.h
local.h
math-emu.h
mb-regs.h
mb86943a.h
mb93091-fpga-irqs.h
mb93093-fpga-irqs.h
mb93493-irqs.h
mb93493-regs.h
mc146818rtc.h
mem-layout.h
mman.h
mmu.h
mmu_context.h
module.h
msgbuf.h
mutex.h
page.h FDPIC: Respect PT_GNU_STACK exec protection markings when creating NOMMU stack 2010-01-06 18:16:02 -08:00
param.h
pci.h pci-dma: add linux/pci-dma.h to linux/pci.h 2010-03-12 15:52:42 -08:00
percpu.h
perf_event.h
pgalloc.h
pgtable.h MM: Pass a PTE pointer to update_mmu_cache() rather than the PTE itself 2010-02-20 16:41:46 +00:00
poll.h
posix_types.h
processor.h
ptrace.h ptrace: move user_enable_single_step & co prototypes to linux/ptrace.h 2010-03-12 15:52:38 -08:00
registers.h
resource.h
scatterlist.h
sections.h
segment.h frv: fix kernel/user segment handling in NOMMU mode 2010-04-07 08:38:05 -07:00
sembuf.h
serial-regs.h
serial.h
setup.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
smp.h
socket.h
sockios.h
spinlock.h
spr-regs.h
stat.h
statfs.h
string.h
suspend.h
swab.h
syscall.h
system.h
termbits.h
termios.h
thread_info.h
timer-regs.h
timex.h
tlb.h
tlbflush.h
topology.h
types.h
uaccess.h frv: fix kernel/user segment handling in NOMMU mode 2010-04-07 08:38:05 -07:00
ucontext.h
unaligned.h
unistd.h Add generic sys_ipc wrapper 2010-03-12 15:52:32 -08:00
user.h
vga.h
virtconvert.h
xor.h