aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/hyperv.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2014-02-24 08:17:09 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-02-24 19:15:05 -0500
commit90eedf0cbe4ba2a316633d6547d331c8b30517e7 (patch)
tree99e109013846a9c500331b525a8617deeb2525b1 /include/linux/hyperv.h
parent4eb923f8787fabbbc450364d34ebe69813448862 (diff)
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 *);
1167void hv_vss_deinit(void); 1167void hv_vss_deinit(void);
1168void hv_vss_onchannelcallback(void *); 1168void hv_vss_onchannelcallback(void *);
1169 1169
1170extern u64 hyperv_mmio_start; 1170extern struct resource hyperv_mmio;
1171extern u64 hyperv_mmio_size;
1172 1171
1173/* 1172/*
1174 * Negotiated version with the Host. 1173 * Negotiated version with the Host.