Commit graph android_kernel_sony_sdm845/arch/um/include/shared/os.h
Message SHA1
um: merge os-Linux/tls.c into arch/x86/um/os-Linux/tls.c
it's i386-specific; moreover, analogs on other targets have
incompatible interface - PTRACE_GET_THREAD_AREA does exist
elsewhere, but struct user_desc does *not*

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>

Al Viro   authored and   Richard Weinberger   commited 2011-11-02 14:15:17 +01:00
1bbd5f21f4
um: fill the handlers array at build time
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>

Al Viro   authored and   Richard Weinberger   commited 2011-11-02 14:14:57 +01:00
00361683ce
um: simplify set_handler()
For one thing, we always block the same signals (IRQ ones - IO, WINCH, VTALRM),
so there's no need to pass sa_mask elements in arguments.  For another, the
flags depend only on whether it's an IRQ signal or not (we add SA_RESTART
for them).

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>

Al Viro   authored and   Richard Weinberger   commited 2011-11-02 14:14:56 +01:00
e87df986ed
um: kill dead code around uaccess
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>

Al Viro   authored and   Richard Weinberger   commited 2011-11-02 14:14:52 +01:00
5d40de0f6e
um: add earlyprintk support
User Mode Linux can also benefit from earlyprintk.  UML's earlyprintk
writes kernel messages directly to stdout.

Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Richard Weinberger   authored and   Linus Torvalds   commited 2011-05-25 08:39:41 -07:00
d634f194d4
um: fix UML_LIB_PATH
UML_LIB_PATH is hardcoded to /usr/lib/uml/, on 64bit systems UML_LIB_PATH
needs to be /usr/lib64/uml/.

Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

Richard Weinberger   authored and   Linus Torvalds   commited 2011-05-25 08:39:40 -07:00
0ce451acb1
Deal with missing exports for hostfs
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>

Al Viro   commited 2010-08-09 16:47:25 -04:00
005a59ec74
x86, um: get rid of arch/um/os symlink
we can get DEV_NULL defined for arch/um/drivers/null.c in less
convoluted ways, TYVM...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>

Al Viro   authored and   H. Peter Anvin   commited 2008-10-22 22:55:22 -07:00
ec82c32d45
x86, um: take arch/um/include/* out of the way
We can't just plop asm/* into it - userland helpers are built with it
in search path and seeing asm/* show up there suddenly would be a bad
idea.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>

Al Viro   authored and   H. Peter Anvin   commited 2008-10-22 22:55:19 -07:00
8569c9140b
Renamed from arch/um/include/os.h (Browse further)