From: Peter Zijlstra Date: Fri, 10 Jul 2009 12:57:56 +0000 (+0200) Subject: sched: INIT_PREEMPT_COUNT X-Git-Tag: v2.6.31-rc3~34 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c99e6efe1ba04561e7d93a81f0be07e37427e835;p=pandora-kernel.git sched: INIT_PREEMPT_COUNT Pull the initial preempt_count value into a single definition site. Maintainers for: alpha, ia64 and m68k, please have a look, your arch code is funny. The header magic is a bit odd, but similar to the KERNEL_DS one, CPP waits with expanding these macros until the INIT_THREAD_INFO macro itself is expanded, which is in arch/*/kernel/init_task.c where we've already included sched.h so we're good. Cc: tony.luck@intel.com Cc: rth@twiddle.net Cc: geert@linux-m68k.org Signed-off-by: Peter Zijlstra Acked-by: Matt Mackall Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed