mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-17 18:36:00 +00:00
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;
|
||||
}
|
||||
|
||||
#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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user