Mathieu Desnoyers dc29a3657b [PATCH] kernel/time/clocksource.c needs struct task_struct on m68k
kernel/time/clocksource.c needs struct task_struct on m68k.

Because it uses spin_unlock_irq(), which, on m68k, uses hardirq_count(), which
uses preempt_count(), which needs to dereference struct task_struct, we
have to include sched.h. Because it would cause a loop inclusion, we
cannot include sched.h in any other of asm-m68k/system.h,
linux/thread_info.h, linux/hardirq.h, which leaves this ugly include in
a C file as the only simple solution.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Roman Zippel <zippel@linux-m68k.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-02-11 10:51:20 -08:00
..
2007-02-09 17:39:36 -05:00
2006-09-11 13:32:30 -04:00
2006-12-08 08:28:46 -08:00
2006-09-29 09:18:12 -07:00
2006-12-30 10:56:43 -08:00
2006-12-07 08:39:25 -08:00
2006-03-26 08:57:03 -08:00
2006-12-07 08:39:36 -08:00
2006-12-04 02:00:22 -05:00
2006-12-30 10:56:43 -08:00
2006-12-15 08:47:51 -08:00
2007-02-07 10:37:12 -08:00
2006-09-30 01:47:55 +02:00
2007-02-07 10:37:12 -08:00
2006-09-29 09:18:12 -07:00
2006-12-22 08:55:51 -08:00
2007-02-09 17:39:36 -05:00
2005-04-16 15:20:36 -07:00
2006-12-10 09:55:41 -08:00
2006-04-19 16:27:18 -07:00
2006-12-07 08:39:25 -08:00
2006-07-10 13:24:25 -07:00