提交 231f7e9d 编写于 作者: J Jeff Dike 提交者: Linus Torvalds

uml: mark a tt-only function

Mark another function as tt-mode only.
Signed-off-by: NJeff Dike <jdike@linux.intel.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 0ff56383
...@@ -239,6 +239,7 @@ int __init can_drop_memory(void) ...@@ -239,6 +239,7 @@ int __init can_drop_memory(void)
return ok; return ok;
} }
#ifdef UML_CONFIG_MODE_TT
void init_new_thread_stack(void *sig_stack, void (*usr1_handler)(int)) void init_new_thread_stack(void *sig_stack, void (*usr1_handler)(int))
{ {
int flags = 0, pages; int flags = 0, pages;
...@@ -260,6 +261,7 @@ void init_new_thread_stack(void *sig_stack, void (*usr1_handler)(int)) ...@@ -260,6 +261,7 @@ void init_new_thread_stack(void *sig_stack, void (*usr1_handler)(int))
"errno = %d\n", errno); "errno = %d\n", errno);
} }
} }
#endif
void init_new_thread_signals(void) void init_new_thread_signals(void)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册