aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2020-03-31 10:53:18 +0200
committerBorislav Petkov <[email protected]>2020-04-14 15:49:51 +0200
commitf26d2580a7ddc84aa9e51e47fdbb5ad63dbee5a7 (patch)
tree065febd8e563bc04e78e5a00e9b2fdf24ce2ffdb /include/linux/fpga/fpga-mgr.h
parent6458de97fc15530b54477c4e2b70af653e8ac3d9 (diff)
x86/mce/amd: Cleanup threshold device remove path
Pass in the bank pointer directly to the cleaning up functions, obviating the need for per-CPU accesses. Make the clean up path interrupt-safe by cleaning the bank pointer first so that the rest of the teardown happens safe from the thresholding interrupt. No functional changes. [ bp: Write commit message and reverse bank->shared test to save an indentation level in threshold_remove_bank(). ] Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Borislav Petkov <[email protected]> Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions