kernel-fxtec-pro1x/arch/um/kernel
Tom Spink 40fb16a360 uml: deal with inaccessible address space start
This patch makes os_get_task_size locate the bottom of the address space,
as well as the top.  This is for systems which put a lower limit on mmap
addresses.  It works by manually scanning pages from zero onwards until a
valid page is found.

Because the bottom of the address space may not be zero, it's not
sufficient to assume the top of the address space is the size of the
address space.  The size is the difference between the top address and
bottom address.

[jdike@addtoit.com: changed the name to reflect that this function is
supposed to return the top of the process address space, not its size and
changed the return value to reflect that.  Also some minor formatting
changes]
Signed-off-by: Tom Spink <tspink@gmail.com>
Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-06-06 11:29:10 -07:00
..
skas uml: fix mm_context memory leak 2008-02-08 09:22:43 -08:00
asm-offsets.c [PATCH] uml: fix missing KBUILD_BASENAME 2006-01-11 18:42:09 -08:00
config.c.in Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dyn.lds.S uml: use PAGE_SIZE in linker scripts 2008-05-13 08:02:22 -07:00
exec.c uml: runtime host VMSPLIT detection 2008-02-08 09:22:42 -08:00
exitcode.c proc: remove proc_root from drivers 2008-04-29 08:06:18 -07:00
gmon_syms.c uml: style fixes in arch/um/kernel 2008-02-05 09:44:30 -08:00
gprof_syms.c uml: style fixes in arch/um/kernel 2008-02-05 09:44:30 -08:00
init_task.c [PATCH] take init_files to fs/file.c 2008-05-16 17:22:20 -04:00
initrd.c uml: fix initrd printk 2008-02-23 17:12:13 -08:00
irq.c uml: miscellaneous code cleanups 2008-02-05 09:44:29 -08:00
ksyms.c uml: add missing exports for UML_RANDOM=m 2008-05-21 16:55:58 -07:00
Makefile uml: style fixes pass 1 2007-10-16 09:43:05 -07:00
mem.c uml: fix build when SLOB is enabled 2008-05-13 08:02:22 -07:00
physmem.c uml: SMP locking commentary 2008-02-05 09:44:30 -08:00
process.c proc: remove proc_root from drivers 2008-04-29 08:06:18 -07:00
ptrace.c spelling fixes: arch/um/ 2007-10-20 01:23:03 +02:00
reboot.c uml: style fixes in arch/um/kernel 2008-02-05 09:44:30 -08:00
sigio.c uml: style fixes in arch/um/kernel 2008-02-05 09:44:30 -08:00
signal.c uml: style fixes in arch/um/kernel 2008-02-05 09:44:30 -08:00
smp.c uml: style fixes in arch/um/kernel 2008-02-05 09:44:30 -08:00
syscall.c unified (weak) sys_pipe implementation 2008-05-03 13:50:33 -07:00
sysrq.c uml: style fixes in arch/um/kernel 2008-02-05 09:44:30 -08:00
time.c uml: fix bad NTP interaction with clock 2008-05-13 08:02:22 -07:00
tlb.c uml: style fixes in arch/um/kernel 2008-02-05 09:44:30 -08:00
trap.c uml: kill processes instead of panicing kernel 2008-02-05 09:44:28 -08:00
uaccess.c uml: style fixes in arch/um/kernel 2008-02-05 09:44:30 -08:00
um_arch.c uml: deal with inaccessible address space start 2008-06-06 11:29:10 -07:00
umid.c uml: style fixes in arch/um/kernel 2008-02-05 09:44:30 -08:00
uml.lds.S uml: use PAGE_SIZE in linker scripts 2008-05-13 08:02:22 -07:00
vmlinux.lds.S [PATCH] uml: tidy biarch gcc support 2006-07-14 21:53:52 -07:00