powerpc/powernv/vas: Define helpers to alloc/free windows
authorSukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Tue, 29 Aug 2017 06:23:36 +0000 (23:23 -0700)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 31 Aug 2017 04:26:35 +0000 (14:26 +1000)
commitbbfe59f8a7057f80f67a74e77fb4e941240e90b9
tree78dc478c40d7b2af00bb2c1bffc2c8688f8bd645
parentb25b33ac18b35775949ab227bb3075bb6cb11bc3
powerpc/powernv/vas: Define helpers to alloc/free windows

Define helpers to allocate/free VAS window objects. These will be used
in follow-on patches when opening/closing windows.

Signed-off-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/platforms/powernv/vas-window.c