sh: Provide dummy swapper pt_regs for SH-5 ctx switch.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
parent
7cfee5ac3e
commit
bba89e1f40
1 changed files with 2 additions and 2 deletions
|
@ -11,8 +11,8 @@ static struct fs_struct init_fs = INIT_FS;
|
||||||
static struct files_struct init_files = INIT_FILES;
|
static struct files_struct init_files = INIT_FILES;
|
||||||
static struct signal_struct init_signals = INIT_SIGNALS(init_signals);
|
static struct signal_struct init_signals = INIT_SIGNALS(init_signals);
|
||||||
static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand);
|
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);
|
struct mm_struct init_mm = INIT_MM(init_mm);
|
||||||
|
|
||||||
EXPORT_SYMBOL(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
|
* way process stacks are handled. This is done by having a special
|
||||||
* "init_task" linker map entry..
|
* "init_task" linker map entry..
|
||||||
*/
|
*/
|
||||||
union thread_union init_thread_union
|
union thread_union init_thread_union
|
||||||
__attribute__((__section__(".data.init_task"))) =
|
__attribute__((__section__(".data.init_task"))) =
|
||||||
{ INIT_THREAD_INFO(init_task) };
|
{ INIT_THREAD_INFO(init_task) };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue