diff options
Diffstat (limited to 'arch/um/kernel/init_task.c')
-rw-r--r-- | arch/um/kernel/init_task.c | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/arch/um/kernel/init_task.c b/arch/um/kernel/init_task.c index f5385a3799bb..d4f1d1ab252b 100644 --- a/arch/um/kernel/init_task.c +++ b/arch/um/kernel/init_task.c | |||
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | * Copyright (C) 2000 Jeff Dike (jdike@karaya.com) | 2 | * Copyright (C) 2000 - 2007 Jeff Dike (jdike@{addtoit,intel.linux}.com) |
3 | * Licensed under the GPL | 3 | * Licensed under the GPL |
4 | */ | 4 | */ |
5 | 5 | ||
@@ -33,14 +33,18 @@ EXPORT_SYMBOL(init_task); | |||
33 | /* | 33 | /* |
34 | * Initial thread structure. | 34 | * Initial thread structure. |
35 | * | 35 | * |
36 | * We need to make sure that this is 16384-byte aligned due to the | 36 | * We need to make sure that this is aligned due to the |
37 | * way process stacks are handled. This is done by having a special | 37 | * way process stacks are handled. This is done by having a special |
38 | * "init_task" linker map entry.. | 38 | * "init_task" linker map entry.. |
39 | */ | 39 | */ |
40 | 40 | ||
41 | union thread_union init_thread_union | 41 | union thread_union init_thread_union |
42 | __attribute__((__section__(".data.init_task"))) = | 42 | __attribute__((__section__(".data.init_task"))) = |
43 | { INIT_THREAD_INFO(init_task) }; | 43 | { INIT_THREAD_INFO(init_task) }; |
44 | |||
45 | union thread_union cpu0_irqstack | ||
46 | __attribute__((__section__(".data.init_irqstack"))) = | ||
47 | { INIT_THREAD_INFO(init_task) }; | ||
44 | 48 | ||
45 | void unprotect_stack(unsigned long stack) | 49 | void unprotect_stack(unsigned long stack) |
46 | { | 50 | { |