From: Jeff Dike Date: Wed, 9 May 2007 09:33:21 +0000 (-0700) Subject: uml: mark a tt-only function X-Git-Tag: v2.6.22-rc1~283 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=231f7e9d029a710c14352bff3b8d3753cb9bfde8;p=linux-2.6-omap-h63xx.git uml: mark a tt-only function Mark another function as tt-mode only. Signed-off-by: Jeff Dike Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/arch/um/os-Linux/process.c b/arch/um/os-Linux/process.c index 92a7b59120d..2d9d2ca3929 100644 --- a/arch/um/os-Linux/process.c +++ b/arch/um/os-Linux/process.c @@ -239,6 +239,7 @@ out: return ok; } +#ifdef UML_CONFIG_MODE_TT void init_new_thread_stack(void *sig_stack, void (*usr1_handler)(int)) { int flags = 0, pages; @@ -260,6 +261,7 @@ void init_new_thread_stack(void *sig_stack, void (*usr1_handler)(int)) "errno = %d\n", errno); } } +#endif void init_new_thread_signals(void) {