vmbus: use resource for hyperv mmio region
Use a resource for the hyperv mmio region instead of start/size variables. Register the region properly so it shows up in /proc/iomem. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: K. Y. Srinivasan <kys@microsoft.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
4eb923f878
commit
90eedf0cbe
@@ -1167,8 +1167,7 @@ int hv_vss_init(struct hv_util_service *);
|
||||
void hv_vss_deinit(void);
|
||||
void hv_vss_onchannelcallback(void *);
|
||||
|
||||
extern u64 hyperv_mmio_start;
|
||||
extern u64 hyperv_mmio_size;
|
||||
extern struct resource hyperv_mmio;
|
||||
|
||||
/*
|
||||
* Negotiated version with the Host.
|
||||
|
Reference in New Issue
Block a user