]> git.baikalelectronics.ru Git - kernel.git/commit
cxl: Refactor cxl_load_segment() and find_free_sste()
authorIan Munsie <imunsie@au1.ibm.com>
Tue, 28 Oct 2014 03:25:28 +0000 (14:25 +1100)
committerMichael Ellerman <mpe@ellerman.id.au>
Tue, 28 Oct 2014 08:52:24 +0000 (19:52 +1100)
commitcd4570689bb5dab0ccf7f7cc7bddb8cc8d88626f
tree62d5c3c12fabcc8acfea7952e04ee61ae5b03483
parent24c147c4fcdb34a5d49a53d5e37f79792fc83bd1
cxl: Refactor cxl_load_segment() and find_free_sste()

This moves the segment table hash calculation from cxl_load_segment()
into find_free_sste() since that is the only place it is actually used.

Signed-off-by: Ian Munsie <imunsie@au1.ibm.com>
Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
drivers/misc/cxl/fault.c