Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 830c072b authored by Greg Ungerer's avatar Greg Ungerer
Browse files

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: default avatarGreg Ungerer <gerg@uclinux.org>
parent a14f5e4f
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -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);