]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] uml: fix usage of kernel_errno in place of errno
authorPaolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Fri, 24 Feb 2006 21:03:55 +0000 (13:03 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 24 Feb 2006 22:31:37 +0000 (14:31 -0800)
commit11ca3238ba9ca44fbd7da6e4764f9ddf8216404e
tree7a43503115b18d26b5baed9c5bb9263469a5587f
parent689132688c97e513f1b46ffbe9caaaa3cf4f6a61
[PATCH] uml: fix usage of kernel_errno in place of errno

To avoid conflicts, in kernel files errno is expanded to kernel_errno, to
distinguish it from glibc errno.  In this case, the code wants to use the libc
errno but the kernel one is used; in the other usage, we return errno in place
of -errno in case of an error.

Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Acked-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
arch/um/include/os.h
arch/um/os-Linux/process.c
arch/um/sys-i386/ldt.c