uml: mark a tt-only function
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>
This commit is contained in:
parent
0ff5638302
commit
231f7e9d02
|
@ -239,6 +239,7 @@ out:
|
||||||
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))
|
||||||
"errno = %d\n", errno);
|
"errno = %d\n", errno);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
void init_new_thread_signals(void)
|
void init_new_thread_signals(void)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue