Skip to content
Commit ade77a2d authored by Stefano Stabellini's avatar Stefano Stabellini Committed by Stefano Stabellini
Browse files

ARM: xen: unexport HYPERVISOR_platform_op function

HYPERVISOR_platform_op() is an inline function and should not
be exported. Since commit 15bfc234 ("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: 15bfc234

 ("modpost: check for static EXPORT_SYMBOL* functions")
Signed-off-by: default avatarArnd Bergmann <arnd@arndb.de>
Signed-off-by: default avatarStefano Stabellini <stefano.stabellini@xilinx.com>
Signed-off-by: default avatarStefano Stabellini <sstabellini@kernel.org>
parent df359f0d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment