diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-20 13:37:01 -0400 |
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-20 13:37:01 -0400 |
| commit | 7fd5b632db00ebf8a26b5e86d6f01e501466e5ef (patch) | |
| tree | cc976c6bea26e86b7789262a313229136613fa3c | |
| parent | ad5cf46b4e3b29f2bc08543e8ef0bf8b13d3f19e (diff) | |
| parent | 05bf7d46316df6d12c608feb2a75dd41fc3385ae (diff) | |
Merge branch 'for-linus' of git://git.monstr.eu/linux-2.6-microblaze
* 'for-linus' of git://git.monstr.eu/linux-2.6-microblaze:
microblaze: Add missing symbols for CONSTRUCTORS support
microblaze: remove init_mm
| -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 : { |
