xen/arm: Fix compile errors when drivers are compiled as modules.
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Tue, 6 Nov 2012 22:06:52 +0000 (17:06 -0500)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Wed, 7 Nov 2012 15:46:19 +0000 (10:46 -0500)
commit911dec0db4de6ccc544178a8ddaf9cec0a11d533
treef61f70adf6ce1a0a65c7bd4366269bf272470f2c
parent6bf926ddd44ddc67edbeb28d4069f207f2c6e07e
xen/arm: Fix compile errors when drivers are compiled as modules.

We end up with:

ERROR: "HYPERVISOR_event_channel_op" [drivers/xen/xen-gntdev.ko] undefined!
ERROR: "privcmd_call" [drivers/xen/xen-privcmd.ko] undefined!
ERROR: "HYPERVISOR_grant_table_op" [drivers/net/xen-netback/xen-netback.ko] undefined!

and this patch exports said function (which is implemented in hypercall.S).

Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
arch/arm/xen/enlighten.c