]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/pseries/eeh: Refactor the configure_bridge RTAS tokens
authorRussell Currey <ruscur@russell.cc>
Thu, 7 Apr 2016 06:28:27 +0000 (16:28 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 30 May 2016 03:50:12 +0000 (13:50 +1000)
commit13d40b27f6dc8c8fbe194291f8080efe77054f8b
treefd88f933c40831cef8ddd2cca40f7e6c6934c8b5
parent7dc8f2259b47918ec39455c2c03bd81b5211ae54
powerpc/pseries/eeh: Refactor the configure_bridge RTAS tokens

The RTAS calls "ibm,configure-pe" and "ibm,configure-bridge" perform the
same actions, however the former can skip configuration if unnecessary.
The existing code treats them as different tokens even though only one
will ever be called.  Refactor this by making a single token that is
assigned during init.

Signed-off-by: Russell Currey <ruscur@russell.cc>
Acked-by: Gavin Shan <gwshan@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/pseries/eeh_pseries.c