diff options
Diffstat (limited to 'arch/um/kernel/init_task.c')
-rw-r--r-- | arch/um/kernel/init_task.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/um/kernel/init_task.c b/arch/um/kernel/init_task.c index fa90db964b28..33055082356e 100644 --- a/arch/um/kernel/init_task.c +++ b/arch/um/kernel/init_task.c | |||
@@ -46,10 +46,3 @@ union thread_union init_thread_union | |||
46 | union thread_union cpu0_irqstack | 46 | union thread_union cpu0_irqstack |
47 | __attribute__((__section__(".data.init_irqstack"))) = | 47 | __attribute__((__section__(".data.init_irqstack"))) = |
48 | { INIT_THREAD_INFO(init_task) }; | 48 | { INIT_THREAD_INFO(init_task) }; |
49 | |||
50 | #ifdef CONFIG_MODE_TT | ||
51 | void unprotect_stack(unsigned long stack) | ||
52 | { | ||
53 | os_protect_memory((void *) stack, THREAD_SIZE, 1, 1, 0); | ||
54 | } | ||
55 | #endif | ||