]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit - drivers/misc/cxl/fault.c
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)
commitb03a7f578ac831276fe3870ebda01609d18167de
tree62d5c3c12fabcc8acfea7952e04ee61ae5b03483
parent5100a9d6444bf205de49190431b0d08de43b86e9
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