diff options
author | Eric Dumazet <edumazet@google.com> | 2018-03-27 20:22:33 -0700 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2018-03-28 10:34:13 +0200 |
commit | 9b9a51354cae933f5640b5bb73bbcd32f989122f (patch) | |
tree | 8d5a3b47268670797edbd662f69b0e13041ec5a6 /tools/cgroup | |
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 <fengguang.wu@intel.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Eric Dumazet <eric.dumazet@gmail.com>
Cc: "H. Peter Anvin" <hpa@zytor.com>
Link: https://lkml.kernel.org/r/20180328032233.153055-1-edumazet@google.com
Diffstat (limited to 'tools/cgroup')
0 files changed, 0 insertions, 0 deletions