Skip to content

Commit ade77a2

Browse files
Stefano Stabellinisstabellini
authored andcommitted
ARM: xen: unexport HYPERVISOR_platform_op function
HYPERVISOR_platform_op() is an inline function and should not be exported. Since commit 15bfc23 ("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: 15bfc23 ("modpost: check for static EXPORT_SYMBOL* functions") Signed-off-by: Arnd Bergmann <[email protected]> Signed-off-by: Stefano Stabellini <[email protected]> Signed-off-by: Stefano Stabellini <[email protected]>
1 parent df359f0 commit ade77a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/arm/xen/enlighten.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ EXPORT_SYMBOL_GPL(HYPERVISOR_memory_op);
437437
EXPORT_SYMBOL_GPL(HYPERVISOR_physdev_op);
438438
EXPORT_SYMBOL_GPL(HYPERVISOR_vcpu_op);
439439
EXPORT_SYMBOL_GPL(HYPERVISOR_tmem_op);
440-
EXPORT_SYMBOL_GPL(HYPERVISOR_platform_op);
440+
EXPORT_SYMBOL_GPL(HYPERVISOR_platform_op_raw);
441441
EXPORT_SYMBOL_GPL(HYPERVISOR_multicall);
442442
EXPORT_SYMBOL_GPL(HYPERVISOR_vm_assist);
443443
EXPORT_SYMBOL_GPL(HYPERVISOR_dm_op);

0 commit comments

Comments
 (0)