uml: mark a tt-only function
authorJeff Dike <jdike@addtoit.com>
Wed, 9 May 2007 09:33:21 +0000 (02:33 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 9 May 2007 19:30:48 +0000 (12:30 -0700)
Mark another function as tt-mode only.

Signed-off-by: Jeff Dike <jdike@linux.intel.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/os-Linux/process.c

index 92a7b59120d616692021376bea33ff5226053b04..2d9d2ca39299f2e74ee2be3a47daf0d877d213e8 100644 (file)
@@ -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)
 {