]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
x86: Add functions to set and clear bits on MSRs
authorSimon Glass <sjg@chromium.org>
Thu, 30 Apr 2015 04:26:00 +0000 (22:26 -0600)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:35:17 +0000 (22:35 +0200)
commit1e3a2e0ae9d26b322ed046f667e903ac381de8f4
tree273f854417384febe311bf2d2ec2b0e4a2cee42b
parent941764a5ba12fac9012938b47f8e55efbf1d4ba5
x86: Add functions to set and clear bits on MSRs

Since we do these sorts of operations a lot, it is useful to have a simpler
API, similar to clrsetbits_le32().

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/include/asm/msr.h