mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
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:
parent
4eb923f878
commit
90eedf0cbe
2 changed files with 11 additions and 8 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue