aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/include/os.h
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2006-09-27 04:50:38 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-09-27 11:26:16 -0400
commit0915ee38c7db57ff41a7a68bcc02d0dd3b7b849b (patch)
tree63b608e830c06fa9eeb102e5fd71d0feb84c4d50 /arch/um/include/os.h
parente3ccf6e3699c879973b616fe681ecaa363457d41 (diff)
[PATCH] uml: mark some tt-mode code
Mark a symbol and file as being tt-mode only. This shrinks the binary slightly when tt mode support is compiled out and makes it easier to identity stuff when tt mode is removed. Signed-off-by: Jeff Dike <jdike@addtoit.com> Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/um/include/os.h')
-rw-r--r--arch/um/include/os.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/um/include/os.h b/arch/um/include/os.h
index 24fb6d8680e1..be71b3d4c961 100644
--- a/arch/um/include/os.h
+++ b/arch/um/include/os.h
@@ -198,7 +198,9 @@ extern long os_ptrace_ldt(long pid, long addr, long data);
198extern int os_getpid(void); 198extern int os_getpid(void);
199extern int os_getpgrp(void); 199extern int os_getpgrp(void);
200 200
201#ifdef UML_CONFIG_MODE_TT
201extern void init_new_thread_stack(void *sig_stack, void (*usr1_handler)(int)); 202extern void init_new_thread_stack(void *sig_stack, void (*usr1_handler)(int));
203#endif
202extern void init_new_thread_signals(void); 204extern void init_new_thread_signals(void);
203extern int run_kernel_thread(int (*fn)(void *), void *arg, void **jmp_ptr); 205extern int run_kernel_thread(int (*fn)(void *), void *arg, void **jmp_ptr);
204 206
@@ -216,7 +218,6 @@ extern void os_flush_stdout(void);
216 */ 218 */
217extern void forward_ipi(int fd, int pid); 219extern void forward_ipi(int fd, int pid);
218extern void kill_child_dead(int pid); 220extern void kill_child_dead(int pid);
219extern void stop(void);
220extern int wait_for_stop(int pid, int sig, int cont_type, void *relay); 221extern int wait_for_stop(int pid, int sig, int cont_type, void *relay);
221extern int protect_memory(unsigned long addr, unsigned long len, 222extern int protect_memory(unsigned long addr, unsigned long len,
222 int r, int w, int x, int must_succeed); 223 int r, int w, int x, int must_succeed);