]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/smp: Use '==' instead of '<' for system_state
authorliguang <lig.fnst@cn.fujitsu.com>
Thu, 30 May 2013 06:47:53 +0000 (14:47 +0800)
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>
Thu, 20 Jun 2013 07:04:23 +0000 (17:04 +1000)
commit0f2863d16cfb000ab5b0777172e8720a09e09709
tree702a5cd163ed1b416511a1d0834a28e67b42bcca
parent71962751f7a031d398892f7002aec3d38956ccea
powerpc/smp: Use '==' instead of '<' for system_state

'system_state < SYSTEM_RUNNING' will have same effect
with 'system_state == SYSTEM_BOOTING', but the later
one is more clearer.

Signed-off-by: liguang <lig.fnst@cn.fujitsu.com>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/platforms/cell/smp.c
arch/powerpc/platforms/powernv/smp.c
arch/powerpc/platforms/pseries/smp.c