|
@@ -183,7 +183,7 @@ struct hrtimer_cpu_base *get_target_base(struct hrtimer_cpu_base *base,
|
|
|
int pinned)
|
|
|
{
|
|
|
if (pinned || !base->migration_enabled)
|
|
|
- return this_cpu_ptr(&hrtimer_bases);
|
|
|
+ return base;
|
|
|
return &per_cpu(hrtimer_bases, get_nohz_timer_target());
|
|
|
}
|
|
|
#else
|
|
@@ -191,7 +191,7 @@ static inline
|
|
|
struct hrtimer_cpu_base *get_target_base(struct hrtimer_cpu_base *base,
|
|
|
int pinned)
|
|
|
{
|
|
|
- return this_cpu_ptr(&hrtimer_bases);
|
|
|
+ return base;
|
|
|
}
|
|
|
#endif
|
|
|
|