Commit 85c9a8f4 authored by Ingo Molnar's avatar Ingo Molnar
Browse files

sched/core: Simplify prefetch_curr_exec_start()



Remove unnecessary use of the address operator.

Signed-off-by: default avatarIngo Molnar <mingo@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: linux-kernel@vger.kernel.org
parent 402de7fc
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -5340,9 +5340,9 @@ EXPORT_PER_CPU_SYMBOL(kernel_cpustat);
static inline void prefetch_curr_exec_start(struct task_struct *p)
{
#ifdef CONFIG_FAIR_GROUP_SCHED
	struct sched_entity *curr = (&p->se)->cfs_rq->curr;
	struct sched_entity *curr = p->se.cfs_rq->curr;
#else
	struct sched_entity *curr = (&task_rq(p)->cfs)->curr;
	struct sched_entity *curr = task_rq(p)->cfs.curr;
#endif
	prefetch(curr);
	prefetch(&curr->exec_start);