powerpc: Turn get/set_hard_smp_proccessor_id into inlines
commit41eba0ad0033967eda346dd833194e96fdf5f405
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>
Mon, 18 Aug 2008 04:23:48 +0000 (18 14:23 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 20 Aug 2008 06:34:58 +0000 (20 16:34 +1000)
tree4c682a0dabd3d03fbf44988bce64fc511a541371
parentf3d3d307e6f577de3b384ef64ffb03c8b5676748
powerpc: Turn get/set_hard_smp_proccessor_id into inlines

They don't need to be macros, and having them as inline functions
avoids warnings about unused variables on some configurations when the
argument isn't evaluated.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/include/asm/smp.h