diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-11-19 11:07:51 +0100 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2008-01-28 05:18:48 +0100 |
commit | bba89e1f403b3313b429b736bd6536b921bbc83a (patch) | |
tree | b6dbc87605601997d5c7c5e1e0d999eed6221146 | |
parent | sh: Move over sh64 switch_to and stack unwinder. (diff) | |
download | linux-bba89e1f403b3313b429b736bd6536b921bbc83a.tar.xz linux-bba89e1f403b3313b429b736bd6536b921bbc83a.zip |
sh: Provide dummy swapper pt_regs for SH-5 ctx switch.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r-- | arch/sh/kernel/init_task.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/kernel/init_task.c b/arch/sh/kernel/init_task.c index 4b449c4a6bad..f9bcc606127e 100644 --- a/arch/sh/kernel/init_task.c +++ b/arch/sh/kernel/init_task.c @@ -11,8 +11,8 @@ static struct fs_struct init_fs = INIT_FS; static struct files_struct init_files = INIT_FILES; static struct signal_struct init_signals = INIT_SIGNALS(init_signals); static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand); +struct pt_regs fake_swapper_regs; struct mm_struct init_mm = INIT_MM(init_mm); - EXPORT_SYMBOL(init_mm); /* @@ -22,7 +22,7 @@ EXPORT_SYMBOL(init_mm); * way process stacks are handled. This is done by having a special * "init_task" linker map entry.. */ -union thread_union init_thread_union +union thread_union init_thread_union __attribute__((__section__(".data.init_task"))) = { INIT_THREAD_INFO(init_task) }; |