diff options
| -rw-r--r-- | arch/microblaze/kernel/init_task.c | 2 | ||||
| -rw-r--r-- | arch/microblaze/kernel/vmlinux.lds.S | 11 |
2 files changed, 6 insertions, 7 deletions
diff --git a/arch/microblaze/kernel/init_task.c b/arch/microblaze/kernel/init_task.c index 48eb9fb255fa..67da22579b62 100644 --- a/arch/microblaze/kernel/init_task.c +++ b/arch/microblaze/kernel/init_task.c | |||
| @@ -18,8 +18,6 @@ | |||
| 18 | 18 | ||
| 19 | static struct signal_struct init_signals = INIT_SIGNALS(init_signals); | 19 | static struct signal_struct init_signals = INIT_SIGNALS(init_signals); |
| 20 | static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand); | 20 | static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand); |
| 21 | struct mm_struct init_mm = INIT_MM(init_mm); | ||
| 22 | EXPORT_SYMBOL(init_mm); | ||
| 23 | 21 | ||
| 24 | union thread_union init_thread_union | 22 | union thread_union init_thread_union |
| 25 | __attribute__((__section__(".data.init_task"))) = | 23 | __attribute__((__section__(".data.init_task"))) = |
diff --git a/arch/microblaze/kernel/vmlinux.lds.S b/arch/microblaze/kernel/vmlinux.lds.S index 8ae807ab7a51..d34d38dcd12c 100644 --- a/arch/microblaze/kernel/vmlinux.lds.S +++ b/arch/microblaze/kernel/vmlinux.lds.S | |||
| @@ -62,7 +62,8 @@ SECTIONS { | |||
| 62 | 62 | ||
| 63 | _sdata = . ; | 63 | _sdata = . ; |
| 64 | .data ALIGN (4096) : { /* page aligned when MMU used - origin 0x4 */ | 64 | .data ALIGN (4096) : { /* page aligned when MMU used - origin 0x4 */ |
| 65 | *(.data) | 65 | DATA_DATA |
| 66 | CONSTRUCTORS | ||
| 66 | } | 67 | } |
| 67 | . = ALIGN(32); | 68 | . = ALIGN(32); |
| 68 | .data.cacheline_aligned : { *(.data.cacheline_aligned) } | 69 | .data.cacheline_aligned : { *(.data.cacheline_aligned) } |
| @@ -98,13 +99,13 @@ SECTIONS { | |||
| 98 | . = ALIGN(4096); | 99 | . = ALIGN(4096); |
| 99 | .init.text : { | 100 | .init.text : { |
| 100 | _sinittext = . ; | 101 | _sinittext = . ; |
| 101 | *(.init.text) | 102 | INIT_TEXT |
| 102 | *(.exit.text) | ||
| 103 | *(.exit.data) | ||
| 104 | _einittext = .; | 103 | _einittext = .; |
| 105 | } | 104 | } |
| 106 | 105 | ||
| 107 | .init.data : { *(.init.data) } | 106 | .init.data : { |
| 107 | INIT_DATA | ||
| 108 | } | ||
| 108 | 109 | ||
| 109 | . = ALIGN(4); | 110 | . = ALIGN(4); |
| 110 | .init.ivt : { | 111 | .init.ivt : { |
