]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: xen: unexport HYPERVISOR_platform_op function
authorStefano Stabellini <stefano.stabellini@xilinx.com>
Tue, 1 Oct 2019 17:38:03 +0000 (10:38 -0700)
committerStefano Stabellini <sstabellini@kernel.org>
Tue, 1 Oct 2019 19:43:12 +0000 (12:43 -0700)
commit9ba8a5db27cfccd288808929150b7591967e0830
tree79b51b3e661caee29a8fcffd07f0daeca520c052
parentbf2538df7b2d7d85130c3aeb4326adb582c9366a
ARM: xen: unexport HYPERVISOR_platform_op function

HYPERVISOR_platform_op() is an inline function and should not
be exported. Since commit 39b5ba1bc8a0 ("modpost: check for
static EXPORT_SYMBOL* functions"), this causes a warning:

WARNING: "HYPERVISOR_platform_op" [vmlinux] is a static EXPORT_SYMBOL_GPL

Instead, export the underlying function called by the static inline:
HYPERVISOR_platform_op_raw.

Fixes: 39b5ba1bc8a0 ("modpost: check for static EXPORT_SYMBOL* functions")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Stefano Stabellini <stefano.stabellini@xilinx.com>
Signed-off-by: Stefano Stabellini <sstabellini@kernel.org>
arch/arm/xen/enlighten.c