[Qemu-devel] [PATCH v2 4/5] s390/cio: export hsch to modules

Cornelia Huck posted 5 patches 6 years, 9 months ago
There is a newer version of this series
[Qemu-devel] [PATCH v2 4/5] s390/cio: export hsch to modules
Posted by Cornelia Huck 6 years, 9 months ago
The vfio-ccw code will need this, and it matches treatment of ssch
and csch.

Reviewed-by: Pierre Morel <pmorel@linux.ibm.com>
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)
 {
-- 
2.17.2


Re: [Qemu-devel] [qemu-s390x] [PATCH v2 4/5] s390/cio: export hsch to modules
Posted by Halil Pasic 6 years, 9 months ago
On Mon, 21 Jan 2019 12:03:53 +0100
Cornelia Huck <cohuck@redhat.com> wrote:

> The vfio-ccw code will need this, and it matches treatment of ssch
> and csch.
> 
> Reviewed-by: Pierre Morel <pmorel@linux.ibm.com>
> Signed-off-by: Cornelia Huck <cohuck@redhat.com>

Reviewed-by: Halil Pasic <pasic@linux.ibm.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)
>  {