cxl: Rework detach context functions
authorMichael Neuling <mikey@neuling.org>
Wed, 27 May 2015 06:07:08 +0000 (16:07 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 3 Jun 2015 03:27:18 +0000 (13:27 +1000)
commiteda3693c842ed169af66af943554c648633769d0
treebd5a1094982e749efe42e61f1e2c72398bbef900
parent6428832a7bfae73345706d63a228a6ce60af0081
cxl: Rework detach context functions

Rework __detach_context() and cxl_context_detach() so we can reuse them in the
kernel API.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Acked-by: Ian Munsie <imunsie@au1.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/misc/cxl/context.c
drivers/misc/cxl/cxl.h