[PATCH v14 04/25] x86/kvmclock: Cleanup the code

2018-07-17 Thread Pavel Tatashin
From: Thomas Gleixner - Cleanup the mrs write for wall clock. The type casts to (int) are sloppy because the wrmsr parameters are u32 and aside of that wrmsrl() already provides the high/low split for free. - Remove the pointless get_cpu()/put_cpu() dance from various functions. Either

[PATCH v14 04/25] x86/kvmclock: Cleanup the code

2018-07-17 Thread Pavel Tatashin
From: Thomas Gleixner - Cleanup the mrs write for wall clock. The type casts to (int) are sloppy because the wrmsr parameters are u32 and aside of that wrmsrl() already provides the high/low split for free. - Remove the pointless get_cpu()/put_cpu() dance from various functions. Either