smp_call_function_interrupt: use typedef and %pf
authorMilton Miller <miltonm@bga.com>
Tue, 15 Mar 2011 19:27:17 +0000 (13:27 -0600)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 17 Mar 2011 23:58:11 +0000 (16:58 -0700)
commitc8def554d031664e984323f6a5d667f070717776
tree2798e92bf75b474aec99ff1fce249dd943994613
parent723aae25d5cdb09962901d36d526b44d4be1051c
smp_call_function_interrupt: use typedef and %pf

Use the newly added smp_call_func_t in smp_call_function_interrupt for
the func variable, and make the comment above the WARN more assertive
and explicit.  Also, func is a function pointer and does not need an
offset, so use %pf not %pS.

Signed-off-by: Milton Miller <miltonm@bga.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/smp.c