aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorJames Morse <[email protected]>2016-04-27 17:47:06 +0100
committerWill Deacon <[email protected]>2016-04-28 12:05:46 +0100
commitadc9b2dfd00924e9e9b98613f36a6cb8c51f0dc6 (patch)
tree127168cb8901a501fa01f87491e18566f81f5630 /drivers/fpga/fpga-mgr.c
parent67f6919766620e7ea7aab11a6a3470dc7b451359 (diff)
arm64: kernel: Rework finisher callback out of __cpu_suspend_enter()
Hibernate could make use of the cpu_suspend() code to save/restore cpu state, however it needs to be able to return '0' from the 'finisher'. Rework cpu_suspend() so that the finisher is called from C code, independently from the save/restore of cpu state. Space to save the context in is allocated in the caller's stack frame, and passed into __cpu_suspend_enter(). Hibernate's use of this API will look like a copy of the cpu_suspend() function. Signed-off-by: James Morse <[email protected]> Acked-by: Lorenzo Pieralisi <[email protected]> Reviewed-by: Catalin Marinas <[email protected]> Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions