sched/deadline: Skip in switched_to_dl() if task is current
sched/deadline: Skip in switched_to_dl() if task is current

When p is current and it's not of dl class, then there are no other
dl taks in the rq. If we had had pushable tasks in some other rq,
they would have been pushed earlier. So, skip "p == rq->curr" case.

Signed-off-by: Kirill Tkhai <e5b39230c99b4d3ebd6aa54f6d823f95134bc39d@parallels.com>
Acked-by: Juri Lelli <bdc6bcd4e8b34b4b92413d758024aeca6da0e459@gmail.com>
Signed-off-by: Peter Zijlstra <3fddac958924aef220f202ca567388ddab3f14a8@infradead.org>
Link: d40dfa10aba080d055e6cfb20ee0e9634f157ff4@tkhai
Signed-off-by: Ingo Molnar <9dbbbf0688fedc85ad4da37637f1a64b8c718ee2@kernel.org>

KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs,KristFoundation/Programs