diff options
| author | Jason Baron <[email protected]> | 2017-10-06 13:19:45 -0400 |
|---|---|---|
| committer | Rafael J. Wysocki <[email protected]> | 2017-10-11 02:02:16 +0200 |
| commit | 0563bb7ba67eec7a87a9ccc04b80bb59de26c319 (patch) | |
| tree | dd90a616853afceca5532c2359a683a25206f38d /kernel/bpf/arraymap.c | |
| parent | f187851b9b4a76952b1158b86434563dd2031103 (diff) | |
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 <[email protected]>
Acked-by: Jacob Pan <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'kernel/bpf/arraymap.c')
0 files changed, 0 insertions, 0 deletions