OpenCloudOS-Kernel/arch/um/os-Linux/drivers
Jeff Dike 43f5b3085f uml: fix build when SLOB is enabled
Reintroduce uml_kmalloc for the benefit of UML libc code.  The
previous tactic of declaring __kmalloc so it could be called directly
from the libc side of the house turned out to be getting too intimate
with slab, and it doesn't work with slob.

So, the uml_kmalloc wrapper is back.  It calls kmalloc or whatever
that translates into, and libc code calls it.

kfree is left alone since that still works, leaving a somewhat
inconsistent API.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: WANG Cong <xiyou.wangcong@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-05-13 08:02:22 -07:00
..
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
etap.h uml: network formatting 2007-10-16 09:43:08 -07:00
ethertap_kern.c uml: style fixes in arch/um/os-Linux 2008-02-08 09:22:42 -08:00
ethertap_user.c uml: fix build when SLOB is enabled 2008-05-13 08:02:22 -07:00
tuntap.h uml: network formatting 2007-10-16 09:43:08 -07:00
tuntap_kern.c uml: style fixes in arch/um/os-Linux 2008-02-08 09:22:42 -08:00
tuntap_user.c uml: tidy helper code 2008-02-05 09:44:30 -08:00