]> git.baikalelectronics.ru Git - kernel.git/commit
x86: Fix typo preventing msr_set/clear_bit from having an effect
authorAndres Freund <andres@anarazel.de>
Fri, 9 May 2014 01:29:16 +0000 (03:29 +0200)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 9 May 2014 15:42:32 +0000 (08:42 -0700)
commit1da6eccee5880cff6eb410298ed9ccaad31a90a3
tree847740df5ddf3da40a3083cd43799b40bfb4a205
parent36e60299aed2c70b9153089c9c0d54c4d4daa29c
x86: Fix typo preventing msr_set/clear_bit from having an effect

Due to a typo the msr accessor function introduced in
8f3f25e3688d4ca5334290b9623923289e516607 didn't have any lasting
effects because they accidentally wrote the old value back.

After 36ae3184129da29c69622def5e22921e01e11f08 this at the very least
this causes cpuid limits not to be lifted on some cpus leading to
missing capabilities for those.

Signed-off-by: Andres Freund <andres@anarazel.de>
Link: http://lkml.kernel.org/r/1399598957-7011-2-git-send-email-andres@anarazel.de
Cc: Borislav Petkov <bp@suse.de>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
arch/x86/lib/msr.c