[Bionic,03/12] powerpc/powernv: Export opal_check_token symbol
diff mbox series

Message ID 20190314175652.1647-4-joserz@linux.ibm.com
State New
Headers show
  • Enable NVLink2 devices on guests
Related show

Commit Message

Jose Ricardo Ziviani March 14, 2019, 5:56 p.m. UTC
From: Haren Myneni <haren@linux.vnet.ibm.com>

BugLink: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1819989

Export opal_check_token symbol for modules to check the availability
of OPAL calls before using them.

Signed-off-by: Haren Myneni <haren@us.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
(cherry picked from commit 6e708000ec2c93c2bde6a46aa2d6c3e80d4eaeb9)
Signed-off-by: Jose Ricardo Ziviani <joserz@linux.ibm.com>
 arch/powerpc/platforms/powernv/opal.c | 1 +
 1 file changed, 1 insertion(+)

diff mbox series

diff --git a/arch/powerpc/platforms/powernv/opal.c b/arch/powerpc/platforms/powernv/opal.c
index 1dc4f9f65a36..4bd365fad701 100644
--- a/arch/powerpc/platforms/powernv/opal.c
+++ b/arch/powerpc/platforms/powernv/opal.c
@@ -930,6 +930,7 @@  EXPORT_SYMBOL_GPL(opal_flash_read);
 /* Convert a region of vmalloc memory to an opal sg list */
 struct opal_sg_list *opal_vmalloc_to_sg_list(void *vmalloc_addr,