path: root/arch/m68k/kernel/process_mm.c
diff options
authorGreg Ungerer <gerg@uclinux.org>2011-08-30 16:11:05 +1000
committerGreg Ungerer <gerg@uclinux.org>2011-12-24 21:47:56 +1000
commit409ee2455c95495e182379883a568df1d40f5864 (patch)
treee6964d749ecf40ab73656ac805a165e10d72cc8a /arch/m68k/kernel/process_mm.c
parented3da2c443e8d566a8eb0ab86069aefc7e928c74 (diff)
m68k: merge the init_task code for mmu and non-mmu targets
The init_task code can be the same for both mmu and non-mmu targets. None of the alignment carried out in the the current init_task code is necessary. The linker script takes care of aligning the init_thread structure to a THREAD SIZE boundary, and that is all we need. So use the init_task.c code for all target types, that makes m68k code consistent with what most other architectures do. Signed-off-by: Greg Ungerer <gerg@uclinux.org> Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Diffstat (limited to 'arch/m68k/kernel/process_mm.c')
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/m68k/kernel/process_mm.c b/arch/m68k/kernel/process_mm.c
index 1bc223aa07ec..58a3253f3eb9 100644
--- a/arch/m68k/kernel/process_mm.c
+++ b/arch/m68k/kernel/process_mm.c
@@ -33,22 +33,6 @@
#include <asm/setup.h>
#include <asm/pgtable.h>
- * Initial task/thread structure. Make this a per-architecture thing,
- * because different architectures tend to have different
- * alignment requirements and potentially different initial
- * setup.
- */
-static struct signal_struct init_signals = INIT_SIGNALS(init_signals);
-static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand);
-union thread_union init_thread_union __init_task_data
- __attribute__((aligned(THREAD_SIZE))) =
- { INIT_THREAD_INFO(init_task) };
-/* initial task structure */
-struct task_struct init_task = INIT_TASK(init_task);
asmlinkage void ret_from_fork(void);