Re: [PATCH RFC 1/2] s390/cio: export hsch to modules

Pierre Morel
2018-05-11T09:36:10Z

On 09/05/2018 17:48, Cornelia Huck wrote:
> The vfio-ccw code will need this, and it matches treatment of ssch
> and csch.
>
> Signed-off-by: Cornelia Huck <cohuck@redhat.com>
> ---
> drivers/s390/cio/ioasm.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/s390/cio/ioasm.c b/drivers/s390/cio/ioasm.c
> index 14d328338ce2..08eb10283b18 100644
> --- a/drivers/s390/cio/ioasm.c
> +++ b/drivers/s390/cio/ioasm.c
> @@ -233,6 +233,7 @@ int hsch(struct subchannel_id schid)
>
> return ccode;
> }
> +EXPORT_SYMBOL(hsch);
>
> static inline int __xsch(struct subchannel_id schid)
> {

hsch already defined in ioasm.h so, all OK

Reviewed-by: Pierre Morel<pmorel@linux.vnet.ibm.com>

--
Pierre Morel
Linux/KVM/QEMU in Böblingen - Germany