Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 279699
b: refs/heads/master
c: 409ee24
h: refs/heads/master
i:
  279697: 4606015
  279695: 30c9c55
v: v3
  • Loading branch information
Greg Ungerer committed Dec 24, 2011
1 parent e9db3de commit e7c4c30
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 24 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: ed3da2c443e8d566a8eb0ab86069aefc7e928c74
refs/heads/master: 409ee2455c95495e182379883a568df1d40f5864
7 changes: 2 additions & 5 deletions trunk/arch/m68k/kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,12 @@ extra-$(CONFIG_MMU) := head.o
extra-$(CONFIG_SUN3) := sun3-head.o
extra-y += vmlinux.lds

obj-y := entry.o irq.o m68k_ksyms.o module.o process.o ptrace.o setup.o \
signal.o sys_m68k.o syscalltable.o time.o traps.o
obj-y := entry.o init_task.o irq.o m68k_ksyms.o module.o process.o ptrace.o
obj-y += setup.o signal.o sys_m68k.o syscalltable.o time.o traps.o

obj-$(CONFIG_MMU) += ints.o vectors.o

ifndef CONFIG_MMU_SUN3
obj-y += dma.o
endif
ifndef CONFIG_MMU
obj-y += init_task.o
endif

3 changes: 1 addition & 2 deletions trunk/arch/m68k/kernel/init_task.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,14 @@ static struct sighand_struct init_sighand = INIT_SIGHAND(init_sighand);
*
* All other task structs will be allocated on slabs in fork.c
*/
__asm__(".align 4");
struct task_struct init_task = INIT_TASK(init_task);

EXPORT_SYMBOL(init_task);

/*
* Initial thread structure.
*
* We need to make sure that this is 8192-byte aligned due to the
* We need to make sure that this is THREAD size aligned due to the
* way process stacks are handled. This is done by having a special
* "init_task" linker map entry..
*/
Expand Down
16 changes: 0 additions & 16 deletions trunk/arch/m68k/kernel/process_mm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

EXPORT_SYMBOL(init_task);

asmlinkage void ret_from_fork(void);

Expand Down

0 comments on commit e7c4c30

Please sign in to comment.