Skip to contentSkip to conversation

UML - Mark a tt-only function

PATCH In review Jeff Dike 1 participant 1 message May 7, 2007 User-mode Linux (UML)

lore
Share & tools
lore

Jeff Dike

author
#0 lore raw

PATCH 3/5 UML - Mark a tt-only function

Mark another function as tt-mode only.

--

 arch/um/os-Linux/process.c |    2 ++
 1 file changed, 2 insertions(+)
arch/um/os-Linux/process.c +2 -0
Index: linux-2.6.21-mm/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_sta
 			      "errno = %d\n", errno);
 	}
 }
+#endif
 
 void init_new_thread_signals(void)
 {

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
User-mode-linux-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel