smp_call_function_single() should be a macro on UP
authorAl Viro <viro@ftp.linux.org.uk>
Tue, 17 Jul 2007 21:29:46 +0000 (22:29 +0100)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 17 Jul 2007 21:39:19 +0000 (14:39 -0700)
commit8dfd588c3180b7403c402b4545164ee4543f8f86
tree9bd261e2b78f20ea852f60ee1a13f57cff51cdae
parent44052e0d91757ecac4a2f659ea3e1a658dd6057e
smp_call_function_single() should be a macro on UP

... or we end up with header include order problems from hell.

E.g. on m68k this is 100% fatal - local_irq_enable() there
wants preempt_count(), which wants task_struct fields, which
we won't have when we are in smp.h pulled from sched.h.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/smp.h