Skip to content

Commit

Permalink
uml: mark a tt-only function
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jeff Dike authored and Linus Torvalds committed May 9, 2007
1 parent 0ff5638 commit 231f7e9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions arch/um/os-Linux/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,7 @@ int __init can_drop_memory(void)
return ok;
}

#ifdef UML_CONFIG_MODE_TT
void init_new_thread_stack(void *sig_stack, void (*usr1_handler)(int))
{
int flags = 0, pages;
Expand All @@ -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)
{
Expand Down

0 comments on commit 231f7e9

Please sign in to comment.