diff options
Diffstat (limited to 'include/asm-ppc64/iSeries/HvLpConfig.h')
-rw-r--r-- | include/asm-ppc64/iSeries/HvLpConfig.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/asm-ppc64/iSeries/HvLpConfig.h b/include/asm-ppc64/iSeries/HvLpConfig.h index 47311cc952d9..817698052ea8 100644 --- a/include/asm-ppc64/iSeries/HvLpConfig.h +++ b/include/asm-ppc64/iSeries/HvLpConfig.h | |||
@@ -281,8 +281,7 @@ static inline u64 HvLpConfig_getLoadPages(void) | |||
281 | 281 | ||
282 | static inline int HvLpConfig_isBusOwnedByThisLp(HvBusNumber busNumber) | 282 | static inline int HvLpConfig_isBusOwnedByThisLp(HvBusNumber busNumber) |
283 | { | 283 | { |
284 | HvLpIndex busOwner = HvLpConfig_getBusOwner(busNumber); | 284 | return (HvLpConfig_getBusOwner(busNumber) == HvLpConfig_getLpIndex()); |
285 | return (busOwner == HvLpConfig_getLpIndex()); | ||
286 | } | 285 | } |
287 | 286 | ||
288 | static inline int HvLpConfig_doLpsCommunicateOnVirtualLan(HvLpIndex lp1, | 287 | static inline int HvLpConfig_doLpsCommunicateOnVirtualLan(HvLpIndex lp1, |