summaryrefslogtreecommitdiffstats
path: root/ipc/util.c
diff options
context:
space:
mode:
authorJason Baron <jbaron@akamai.com>2017-10-06 19:19:45 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-10-11 02:02:16 +0200
commit0563bb7ba67eec7a87a9ccc04b80bb59de26c319 (patch)
treedd90a616853afceca5532c2359a683a25206f38d /ipc/util.c
parentcpuidle: fix broadcast control when broadcast can not be entered (diff)
downloadlinux-0563bb7ba67eec7a87a9ccc04b80bb59de26c319.tar.xz
linux-0563bb7ba67eec7a87a9ccc04b80bb59de26c319.zip
intel_idle: replace conditionals with static_cpu_has(X86_FEATURE_ARAT)
If the 'arat' cpu flag is set, then the conditionals in intel_idle() that guard calling tick_broadcast_enter()/exit() will never be true. Use static_cpu_has(X86_FEATURE_ARAT) to create a fast path to replace the conditional. Signed-off-by: Jason Baron <jbaron@akamai.com> Acked-by: Jacob Pan <jacob.jun.pan@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'ipc/util.c')
0 files changed, 0 insertions, 0 deletions