aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/include/shared/os.h
diff options
context:
space:
mode:
authorAl Viro <viro@ftp.linux.org.uk>2011-08-18 15:09:49 -0400
committerRichard Weinberger <richard@nod.at>2011-11-02 09:15:17 -0400
commit1bbd5f21f426d99660ea8120b79595a282e5ff8a (patch)
treef9980460722d4f89ca468c7af92502daa82d8c1a /arch/um/include/shared/os.h
parentc5cc32fe14ccbc19484202d20cf7d6bad45e3567 (diff)
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>
Diffstat (limited to 'arch/um/include/shared/os.h')
-rw-r--r--arch/um/include/shared/os.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/um/include/shared/os.h b/arch/um/include/shared/os.h
index caa66619a9b4..89b686c1a3ea 100644
--- a/arch/um/include/shared/os.h
+++ b/arch/um/include/shared/os.h
@@ -10,7 +10,6 @@
10#include "irq_user.h" 10#include "irq_user.h"
11#include "longjmp.h" 11#include "longjmp.h"
12#include "mm_id.h" 12#include "mm_id.h"
13#include "sysdep/tls.h"
14 13
15#define CATCH_EINTR(expr) while ((errno = 0, ((expr) < 0)) && (errno == EINTR)) 14#define CATCH_EINTR(expr) while ((errno = 0, ((expr) < 0)) && (errno == EINTR))
16 15
@@ -212,10 +211,6 @@ extern int run_helper_thread(int (*proc)(void *), void *arg,
212extern int helper_wait(int pid); 211extern int helper_wait(int pid);
213 212
214 213
215/* tls.c */
216extern int os_set_thread_area(user_desc_t *info, int pid);
217extern int os_get_thread_area(user_desc_t *info, int pid);
218
219/* umid.c */ 214/* umid.c */
220extern int umid_file_name(char *name, char *buf, int len); 215extern int umid_file_name(char *name, char *buf, int len);
221extern int set_umid(char *name); 216extern int set_umid(char *name);