android_kernel_xiaomi_sm8350/arch/um/include
Jeff Dike e4c4bf9968 uml: Eliminate kernel allocator wrappers
UML had two wrapper procedures for kmalloc, um_kmalloc and um_kmalloc_atomic
because the flag constants weren't available in userspace code.
kern_constants.h had made kernel constants available for a long time, so there
is no need for these wrappers any more.  Rather, userspace code calls kmalloc
directly with the userspace versions of the gfp flags.

kmalloc isn't a real procedure, so I had to essentially copy the inline
wrapper around __kmalloc.

vmalloc also had its own wrapper for no good reason.  This is now gone.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-07-16 09:05:38 -07:00
..
skas uml: speed page fault path 2007-05-07 12:13:04 -07:00
sysdep-i386 fix file specification in comments 2007-05-09 08:58:16 +02:00
sysdep-ia64
sysdep-ppc
sysdep-x86_64 fix uml-x86_64 2007-05-15 18:56:37 -07:00
tt uml: tidy process.c 2007-05-07 12:13:02 -07:00
aio.h
arch.h uml: tidy fault code 2007-05-07 12:13:02 -07:00
as-layout.h uml: create as-layout.h 2007-05-07 12:13:01 -07:00
chan_kern.h uml: handle errors on opening host side of consoles 2007-07-16 09:05:38 -07:00
chan_user.h uml: SIGIO support cleanup 2007-07-16 09:05:38 -07:00
choose-mode.h
common-offsets.h uml: Eliminate kernel allocator wrappers 2007-07-16 09:05:38 -07:00
elf_user.h
frame_kern.h
init.h
initrd.h
irq_kern.h
irq_user.h
kern_util.h uml: iRQ stacks 2007-05-11 08:29:34 -07:00
kern.h
line.h
longjmp.h
mconsole_kern.h
mconsole.h [PATCH] uml: fix compilation problems 2007-03-29 08:22:25 -07:00
mem_kern.h
mem_user.h
mem.h
misc_constants.h
mode_kern.h
mode.h
net_kern.h uml: Replace one-element array with zero-element array 2007-05-07 12:13:02 -07:00
net_user.h uml: network interface hotplug error handling 2007-05-07 12:13:00 -07:00
os.h uml: simplify helper stack handling 2007-07-16 09:05:38 -07:00
process.h
ptrace_user.h
registers.h
sigcontext.h
sigio.h
signal_kern.h
skas_ptrace.h
skas_ptregs.h
syscall.h
sysrq.h
task.h
tempfile.h
tlb.h uml: more page fault path trimming 2007-05-07 12:13:04 -07:00
ubd_user.h
um_malloc.h uml: Eliminate kernel allocator wrappers 2007-07-16 09:05:38 -07:00
um_mmu.h
um_uaccess.h
uml_uaccess.h
user.h uml: fix prototypes 2007-05-07 12:13:04 -07:00