diff options
author | Eric Dumazet <[email protected]> | 2018-03-27 20:22:33 -0700 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2018-03-28 10:34:13 +0200 |
commit | 9b9a51354cae933f5640b5bb73bbcd32f989122f (patch) | |
tree | 8d5a3b47268670797edbd662f69b0e13041ec5a6 /drivers/pci/pci.c | |
parent | 67bbd7a8d6bcdc44cc27105ae8c374e9176ceaf1 (diff) |
x86/msr: Make rdmsrl_safe_on_cpu() scheduling safe as well
When changing rdmsr_safe_on_cpu() to schedule, it was missed that
__rdmsr_safe_on_cpu() was also used by rdmsrl_safe_on_cpu()
Make rdmsrl_safe_on_cpu() a wrapper instead of copy/pasting the code which
was added for the completion handling.
Fixes: 07cde313b2d2 ("x86/msr: Allow rdmsr_safe_on_cpu() to schedule")
Reported-by: kbuild test robot <[email protected]>
Signed-off-by: Eric Dumazet <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Eric Dumazet <[email protected]>
Cc: "H. Peter Anvin" <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/pci/pci.c')
0 files changed, 0 insertions, 0 deletions