diff options
author | Josh Boyer <jwboyer@redhat.com> | 2013-11-18 08:48:07 -0500 |
---|---|---|
committer | Stefano Stabellini <stefano.stabellini@eu.citrix.com> | 2013-11-18 15:32:45 +0000 |
commit | c8999a889f466bd4e4db45337a43b8544b91c550 (patch) | |
tree | 9a842ae8df264485c7a1b42712b7bd41c22ad21b /drivers/xen | |
parent | 71bfae9097a94bb9a07afc6c16077429d3e40709 (diff) | |
download | linux-c8999a889f466bd4e4db45337a43b8544b91c550.tar.gz linux-c8999a889f466bd4e4db45337a43b8544b91c550.tar.bz2 linux-c8999a889f466bd4e4db45337a43b8544b91c550.zip |
arm/xen: Export phys_to_mach to fix Xen module link errors
Various xen drivers fail to link when built as modules with the following
error:
ERROR: "phys_to_mach" [drivers/xen/xen-gntalloc.ko] undefined!
ERROR: "phys_to_mach" [drivers/net/xen-netfront.ko] undefined!
ERROR: "phys_to_mach" [drivers/net/xen-netback/xen-netback.ko] undefined!
ERROR: "phys_to_mach" [drivers/block/xen-blkfront.ko] undefined!
The mfn_to_pfn and pfn_to_mfn functions get inlined in these modules and
those functions require phys_to_mach. Export the symbol to fix the link
errors.
Signed-off-by: Josh Boyer <jwboyer@fedoraproject.org>
Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'drivers/xen')
0 files changed, 0 insertions, 0 deletions