Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 231f7e9d authored by Jeff Dike's avatar Jeff Dike Committed by Linus Torvalds
Browse files

uml: mark a tt-only function



Mark another function as tt-mode only.

Signed-off-by: default avatarJeff Dike <jdike@linux.intel.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 0ff56383
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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;
@@ -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)
{