powerpc/opal: Make __opal_async_{get, release}_token() static
authorCyril Bur <cyrilbur@gmail.com>
Fri, 3 Nov 2017 02:41:41 +0000 (13:41 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 6 Nov 2017 09:20:26 +0000 (20:20 +1100)
commit59cf9a1cfcd9de6392d218fcd69413f2e77babbe
tree4f75d5e6f4da84748f82b940445b2342fbe4797e
parentefe6941450b80927d3a5721594b7f103cb0c7428
powerpc/opal: Make __opal_async_{get, release}_token() static

There are no callers of both __opal_async_get_token() and
__opal_async_release_token().

This patch also removes the possibility of "emergency through
synchronous call to __opal_async_get_token()" as such it makes more
sense to initialise opal_sync_sem for the maximum number of async
tokens.

Signed-off-by: Cyril Bur <cyrilbur@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/opal.h
arch/powerpc/platforms/powernv/opal-async.c