diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-25 10:44:27 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-25 10:44:27 -0400 |
commit | 4b37ba90f49d4157ac5628f8d730d3505f176724 (patch) | |
tree | fdb3d04426f7b72ee86b1f06be746624494493c5 /arch/m68knommu/kernel/asm-offsets.c | |
parent | 229aebb873e29726b91e076161649cf45154b0bf (diff) | |
parent | 55f411de484a0136a77d050e877578a60bc2e094 (diff) |
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu
* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu: (21 commits)
m68knommu: convert to using tracehook_report_syscall_*
m68knommu: some boards use fixed phy for FEC ethernet
m68knommu: support the external GPIO based interrupts of the 5272
m68knommu: mask of vector bits in exception word properly
m68knommu: change to new flag variables
m68knommu: Fix MCFUART_TXFIFOSIZE for m548x.
m68knommu: add basic mmu-less m548x support
m68knommu: .gitignore vmlinux.lds
m68knommu: stop using __do_IRQ
m68knommu: rename PT_OFF_VECTOR to PT_OFF_FORMATVEC.
m68knommu: add support for Coldfire 547x/548x interrupt controller
m68k{nommu}: Remove unused DEFINE's from asm-offsets.c
m68knommu: whitespace cleanup in 68328/entry.S
m68knommu: Document supported chips in intc-2.c and intc-simr.c.
m68knommu: fix strace support for 68328/68360
m68knommu: fix default starting date
arch/m68knommu: Removing dead 68328_SERIAL_UART2 config option
arch/m68knommu: Removing dead RAM_{16,32}_MB config option
arch/m68knommu: Removing dead M68KFPU_EMU config option
arch/m68knommu: Removing dead RELOCATE config option
...
Diffstat (limited to 'arch/m68knommu/kernel/asm-offsets.c')
-rw-r--r-- | arch/m68knommu/kernel/asm-offsets.c | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/arch/m68knommu/kernel/asm-offsets.c b/arch/m68knommu/kernel/asm-offsets.c index 24335022fa2c..ffe02f41ad46 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)); |
@@ -63,7 +57,7 @@ int main(void) | |||
63 | DEFINE(PT_OFF_FORMATVEC, offsetof(struct pt_regs, sr) - 2); | 57 | DEFINE(PT_OFF_FORMATVEC, offsetof(struct pt_regs, sr) - 2); |
64 | #else | 58 | #else |
65 | /* bitfields are a bit difficult */ | 59 | /* bitfields are a bit difficult */ |
66 | DEFINE(PT_OFF_VECTOR, offsetof(struct pt_regs, pc) + 4); | 60 | DEFINE(PT_OFF_FORMATVEC, offsetof(struct pt_regs, pc) + 4); |
67 | #endif | 61 | #endif |
68 | 62 | ||
69 | /* signal defines */ | 63 | /* signal defines */ |
@@ -75,11 +69,8 @@ int main(void) | |||
75 | DEFINE(PT_PTRACED, PT_PTRACED); | 69 | DEFINE(PT_PTRACED, PT_PTRACED); |
76 | 70 | ||
77 | /* Offsets in thread_info structure */ | 71 | /* Offsets in thread_info structure */ |
78 | DEFINE(TI_TASK, offsetof(struct thread_info, task)); | ||
79 | DEFINE(TI_EXECDOMAIN, offsetof(struct thread_info, exec_domain)); | ||
80 | DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); | 72 | DEFINE(TI_FLAGS, offsetof(struct thread_info, flags)); |
81 | DEFINE(TI_PREEMPTCOUNT, offsetof(struct thread_info, preempt_count)); | 73 | DEFINE(TI_PREEMPTCOUNT, offsetof(struct thread_info, preempt_count)); |
82 | DEFINE(TI_CPU, offsetof(struct thread_info, cpu)); | ||
83 | 74 | ||
84 | return 0; | 75 | return 0; |
85 | } | 76 | } |