mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-13 23:24:05 +08:00
m68knommu: remove unused kernel stats offsets
The irq field of the kernel stats struct is not used by the assembly support code, so remove it from the offsets. Signed-off-by: Greg Ungerer <gerg@uclinux.org>
This commit is contained in:
parent
a14f5e4feb
commit
830c072b1e
@ -30,9 +30,6 @@ int main(void)
|
||||
DEFINE(TASK_MM, offsetof(struct task_struct, mm));
|
||||
DEFINE(TASK_ACTIVE_MM, offsetof(struct task_struct, active_mm));
|
||||
|
||||
/* offsets into the kernel_stat struct */
|
||||
DEFINE(STAT_IRQ, offsetof(struct kernel_stat, irqs));
|
||||
|
||||
/* offsets into the irq_cpustat_t struct */
|
||||
DEFINE(CPUSTAT_SOFTIRQ_PENDING, offsetof(irq_cpustat_t, __softirq_pending));
|
||||
|
||||
@ -69,9 +66,6 @@ int main(void)
|
||||
DEFINE(PT_VECTOR, offsetof(struct pt_regs, pc) + 4);
|
||||
#endif
|
||||
|
||||
/* offsets into the kernel_stat struct */
|
||||
DEFINE(STAT_IRQ, offsetof(struct kernel_stat, irqs));
|
||||
|
||||
/* signal defines */
|
||||
DEFINE(SIGSEGV, SIGSEGV);
|
||||
DEFINE(SEGV_MAPERR, SEGV_MAPERR);
|
||||
|
Loading…
Reference in New Issue
Block a user