android_kernel_xiaomi_sm7250/arch/um/kernel
Jeff Dike 9157f90f08 uml: move um_virt_to_phys
This patchset makes UML build and run with three-level page tables on
32-bit hosts.  This is an uncommon use case, but the code here needed
fixing and cleaning up, so 32-bit three-level pages tables were tested
to make sure the changes are good.

Patch 1 - code movement
Patch 2 - header untangling
Patch 3 - style fixups in files affected so far
Patch 4 - clean up use of current.h
Patch 5 - fix sizes of types that are different between 2 and 3-level
	page tables - three-level page table support should build at
	this point
Patch 6 - tidy (i.e. eliminate much of) the code that figures out how
	big the address space is
Patch 7 - change um_virt_to_phys into virt_to_pte, clean its
	interface, and clean its (so far) one caller
Patch 8 - the stub pages are covered with a VMA, allowing some nasty
	code to be thrown out - three-level page tables now work

This patch:

um_virt_to_phys only has one user, so it can be moved to the same file
and made static.  Its declarations in pgtable.h and ksyms.c are also
gone.

current_cmd was another apparent user, but it itself isn't used, so it
is deleted.

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-02-05 09:44:28 -08:00
..
skas uml: move um_virt_to_phys 2008-02-05 09:44:28 -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 all archs: consolidate init and exit sections in vmlinux.lds.h 2008-01-28 23:21:17 +01:00
exec.c uml: fix stub address calculations 2007-10-16 09:43:09 -07:00
exitcode.c uml: get declaration of simple_strtoul 2007-06-08 17:23:33 -07:00
gmon_syms.c spelling fixes: arch/um/ 2007-10-20 01:23:03 +02:00
gprof_syms.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
init_task.c uml: style fixes pass 1 2007-10-16 09:43:05 -07:00
initrd.c uml: tidy kern_util.h 2008-02-05 09:44:26 -08:00
irq.c uml: fix spurious IRQ testing 2007-11-14 18:45:43 -08:00
ksyms.c uml: move um_virt_to_phys 2008-02-05 09:44:28 -08:00
Makefile uml: style fixes pass 1 2007-10-16 09:43:05 -07:00
mem.c uml: const and other tidying 2008-02-05 09:44:25 -08:00
physmem.c uml: userspace files should call libc directly 2007-10-16 09:43:06 -07:00
process.c uml: move um_virt_to_phys 2008-02-05 09:44:28 -08:00
ptrace.c spelling fixes: arch/um/ 2007-10-20 01:23:03 +02:00
reboot.c uml: tidy kern_util.h 2008-02-05 09:44:26 -08:00
sigio.c uml: rename os_{read_write}_file_k back to os_{read_write}_file 2007-05-07 12:13:03 -07:00
signal.c uml: style fixes pass 3 2007-10-16 09:43:05 -07:00
smp.c uml: tidy kern_util.h 2008-02-05 09:44:26 -08:00
syscall.c uml: style fixes pass 3 2007-10-16 09:43:05 -07:00
sysrq.c uml: remove user_util.h 2007-05-07 12:13:01 -07:00
time.c uml: use *SEC_PER_*SEC constants 2007-10-16 09:43:08 -07:00
tlb.c uml: fix stub address calculations 2007-10-16 09:43:09 -07:00
trap.c uml: tidy pgtable.h 2008-02-05 09:44:26 -08:00
uaccess.c uml: get rid of do_longjmp 2007-10-16 09:43:05 -07:00
um_arch.c uml: convert functions to void 2008-02-05 09:44:26 -08:00
umid.c [PATCH] uml: umid tidying 2007-02-11 10:51:24 -08:00
uml.lds.S all archs: consolidate init and exit sections in vmlinux.lds.h 2008-01-28 23:21:17 +01:00
vmlinux.lds.S [PATCH] uml: tidy biarch gcc support 2006-07-14 21:53:52 -07:00