aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2015-01-15 21:22:09 +0000
committerThomas Gleixner <[email protected]>2015-01-22 15:10:54 +0100
commit8d80696060eedf49c080c0f2cf39a20ae7e787f9 (patch)
tree1b6282a1fc1305aec1ccba89515078b32914eb24 /lib/mpi/mpiutil.c
parente901176046e6729e002839d7296f27f17599ccb8 (diff)
x86/apic: Avoid open coded x2apic detection
enable_IR_x2apic() grew a open coded x2apic detection. Implement a proper helper function which shares the code with the already existing x2apic_enabled(). Made it use rdmsrl_safe as suggested by Boris. Signed-off-by: Thomas Gleixner <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: Jiang Liu <[email protected]> Cc: Joerg Roedel <[email protected]> Cc: Tony Luck <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions