summaryrefslogtreecommitdiffstats
path: root/include/linux/hyperv.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2014-02-24 14:17:09 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-24 16:15:05 -0800
commit90eedf0cbe4ba2a316633d6547d331c8b30517e7 (patch)
tree99e109013846a9c500331b525a8617deeb2525b1 /include/linux/hyperv.h
parent4eb923f8787fabbbc450364d34ebe69813448862 (diff)
downloadtalos-op-linux-90eedf0cbe4ba2a316633d6547d331c8b30517e7.tar.gz
talos-op-linux-90eedf0cbe4ba2a316633d6547d331c8b30517e7.zip
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/linux/hyperv.h')
-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.
OpenPOWER on IntegriCloud