summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2014-02-24 17:17:09 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-25 04:15:05 +0400
commit90eedf0cbe4ba2a316633d6547d331c8b30517e7 (patch)
tree99e109013846a9c500331b525a8617deeb2525b1 /include
parent4eb923f8787fabbbc450364d34ebe69813448862 (diff)
downloadlinux-90eedf0cbe4ba2a316633d6547d331c8b30517e7.tar.xz
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>
Diffstat (limited to 'include')
-rw-r--r--include/linux/hyperv.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/hyperv.h b/include/linux/hyperv.h
index 62ea1a06836a..330ec44de575 100644
--- a/include/linux/hyperv.h
+++ b/include/linux/hyperv.h
@@ -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.