hv: make "monitor_pages" a "real" pointer array
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 13 Sep 2013 18:32:55 +0000 (11:32 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 26 Sep 2013 16:01:16 +0000 (09:01 -0700)
commit8681db445ed407167cd0d78c48727773b132367b
tree70cb5d80249c0718e9bc789b2a9ffa0b68101e50
parent7c55e1d0e64cf5acd8cf4a25927e2c7c322063aa
hv: make "monitor_pages" a "real" pointer array

monitor_pages was a void pointer, containing an unknown number of arrays that
we just "knew" were a child and parent array of a specific size.  Instead of
that implicit knowledge, let's make them a real pointer, allowing us to have
type safety, and a semblance of sane addressing schemes.

Tested-by: "K. Y. Srinivasan" <kys@microsoft.com>
Cc: Haiyang Zhang <haiyangz@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hv/channel.c
drivers/hv/connection.c
drivers/hv/hyperv_vmbus.h