]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit67928486ef5c2432df2667a1af49bd53f682bba3
tree2798e92bf75b474aec99ff1fce249dd943994613
parenteb04bfad4839ae6f9703544b9f4c32add862144d
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