aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/kernel/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/kernel/process.c')
-rw-r--r--arch/um/kernel/process.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/um/kernel/process.c b/arch/um/kernel/process.c
index f083787410af..005ed44d4a8e 100644
--- a/arch/um/kernel/process.c
+++ b/arch/um/kernel/process.c
@@ -183,13 +183,6 @@ void initial_thread_cb(void (*proc)(void *), void *arg)
183 kmalloc_ok = save_kmalloc_ok; 183 kmalloc_ok = save_kmalloc_ok;
184} 184}
185 185
186#ifdef CONFIG_MODE_TT
187unsigned long stack_sp(unsigned long page)
188{
189 return page + PAGE_SIZE - sizeof(void *);
190}
191#endif
192
193void default_idle(void) 186void default_idle(void)
194{ 187{
195 CHOOSE_MODE(uml_idle_timer(), (void) 0); 188 CHOOSE_MODE(uml_idle_timer(), (void) 0);