diff options
author | Philippe De Muyter <phdm@macqel.be> | 2010-08-18 12:27:34 -0400 |
---|---|---|
committer | Greg Ungerer <gerg@uclinux.org> | 2010-10-20 20:17:30 -0400 |
commit | aa108e4eae67c9aa6ad77e4fc17b044caffd135c (patch) | |
tree | b552edbdc4772a5de17f2ffdcff9f3c528521563 /arch/m68knommu | |
parent | 5061ea2cceca043ec99a52dd89f569567fc2cede (diff) |
m68k{nommu}: Remove unused DEFINE's from asm-offsets.c
m68k{nommu}/asm-offsets.c define many constants which are not used
anymore anywhere; remove IRQ_DEVID, IRQ_HANDLER, IRQ_NEXT, STAT_IRQ,
TASK_ACTIVE_MM, TASK_BLOCKED, TASK_FLAGS, TASK_PTRACE, TASK_STATE,
TASK_THREAD_INFO, TI_CPU, TI_EXECDOMAIN and TI_TASK.
Signed-off-by: Philippe De Muyter <phdm@macqel.be>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Diffstat (limited to 'arch/m68knommu')
-rw-r--r-- | arch/m68knommu/kernel/asm-offsets.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/arch/m68knommu/kernel/asm-offsets.c b/arch/m68knommu/kernel/asm-offsets.c index 9a8876f715d8..eca508c48a08 100644 --- a/arch/m68knommu/kernel/asm-offsets.c +++ b/arch/m68knommu/kernel/asm-offsets.c | |||
@@ -21,14 +21,8 @@ | |||
21 | int main(void) | 21 | int main(void) |
22 | { | 22 | { |
23 | /* offsets into the task struct */ | 23 | /* offsets into the task struct */ |
24 | DEFINE(TASK_STATE, offsetof(struct task_struct, state)); | ||
25 | DEFINE(TASK_FLAGS, offsetof(struct task_struct, flags)); | ||
26 | DEFINE(TASK_PTRACE, offsetof(struct task_struct, ptrace)); | ||
27 | DEFINE(TASK_BLOCKED, offsetof(struct task_struct, blocked)); | ||
28 | DEFINE(TASK_THREAD, offsetof(struct task_struct, thread)); | 24 | DEFINE(TASK_THREAD, offsetof(struct task_struct, thread)); |
29 | DEFINE(TASK_THREAD_INFO, offsetof(struct task_struct, stack)); | ||
30 | DEFINE(TASK_MM, offsetof(struct task_struct, mm)); | 25 | DEFINE(TASK_MM, offsetof(struct task_struct, mm)); |
31 | DEFINE(TASK_ACTIVE_MM, offsetof(struct task_struct, active_mm)); | ||
32 | 26 | ||
33 | /* offsets into the irq_cpustat_t struct */ | 27 | /* offsets into the irq_cpustat_t struct */ |
34 | DEFINE(CPUSTAT_SOFTIRQ_PENDING, offsetof(irq_cpustat_t, __softirq_pending)); | 28 | DEFINE(CPUSTAT_SOFTIRQ_PENDING, offsetof(irq_cpustat_t, __softirq_pending)); |
@@ -77,11 +71,8 @@ int main(void) | |||
77 | DEFINE(THREAD_SIZE, THREAD_SIZE); | 71 | DEFINE(THREAD_SIZE, THREAD_SIZE); |
78 | 72 | ||
79 | /* Offsets in thread_info structure */ | 73 | /* Offsets in thread_info structure */ |
80 | DEFINE(TI_TASK, offsetof(struct thread_info, task)); | ||
81 | DEFINE(TI_EXECDOMAIN, offsetof(struct thread_info, exec_domain)); | ||
82 | DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); | 74 | DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); |
83 | DEFINE(TI_PREEMPTCOUNT, offsetof(struct thread_info, preempt_count)); | 75 | DEFINE(TI_PREEMPTCOUNT, offsetof(struct thread_info, preempt_count)); |
84 | DEFINE(TI_CPU, offsetof(struct thread_info, cpu)); | ||
85 | 76 | ||
86 | return 0; | 77 | return 0; |
87 | } | 78 | } |