]> www.infradead.org Git - users/jedix/linux-maple.git/commit
drivers:hv: Make a function to free mmio regions through vmbus
authorJake Oshins <jakeo@microsoft.com>
Tue, 5 Apr 2016 17:22:51 +0000 (10:22 -0700)
committerDhaval Giani <dhaval.giani@oracle.com>
Tue, 7 Mar 2017 23:44:21 +0000 (18:44 -0500)
commit3f06f536fa841f83faf4bf5346fea3dfae0c0a04
treeddfe044d6bf66bc59596c7e75c6b99ffcac64190
parente41949b8d26aec931c18450723b782b4fd433c1c
drivers:hv: Make a function to free mmio regions through vmbus

This patch introduces a function that reverses everything
done by vmbus_allocate_mmio().  Existing code just called
release_mem_region().  Future patches in this series
require a more complex sequence of actions, so this function
is introduced to wrap those actions.

Signed-off-by: Jake Oshins <jakeo@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Orabug: 25507635
(cherry picked from commit 97fb77dc87582300fa3c141b63699f853576cab1)
Signed-off-by: Jack Vogel <jack.vogel@oracle.com>
Signed-off-by: Dhaval Giani <dhaval.giani@oracle.com>
drivers/hv/vmbus_drv.c
include/linux/hyperv.h