aboutsummaryrefslogtreecommitdiff
path: root/include/linux/fpga/fpga-mgr.h
diff options
context:
space:
mode:
authorAndy Lutomirski <[email protected]>2015-06-04 17:13:44 -0700
committerIngo Molnar <[email protected]>2015-06-05 09:41:22 +0200
commitcf991de2f614f454b3cb2a300c06ecdf69f3a70d (patch)
treefdf37fe5861f8f644d58a56221d854967e5f5391 /include/linux/fpga/fpga-mgr.h
parent00398a0018d1334fedabfeaabd0fa563121de612 (diff)
x86/asm/msr: Make wrmsrl_safe() a function
The wrmsrl_safe macro performs invalid shifts if the value argument is 32 bits. This makes it unnecessarily awkward to write code that puts an unsigned long into an MSR. Convert it to a real inline function. For inspiration, see: 7c74d5b7b7b6 ("x86/asm/entry/64: Fix MSR_IA32_SYSENTER_CS MSR value"). Signed-off-by: Andy Lutomirski <[email protected]> Cc: <[email protected]> Cc: Andrew Morton <[email protected]> Cc: H. Peter Anvin <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> [ Applied small improvements. ] Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions