summaryrefslogtreecommitdiff
path: root/arch/openrisc
diff options
context:
space:
mode:
authorPavankumar Kondeti <pkondeti@codeaurora.org>2017-01-07 14:59:26 +0530
committerPavankumar Kondeti <pkondeti@codeaurora.org>2017-01-19 12:30:19 +0530
commit6d63f38bf2832a353cab15d9070fe8171b03bd22 (patch)
tree74fe960a58e661a04fdab8e1c1edfbe574cecd94 /arch/openrisc
parentebc5196e3eb88a2f28ef461caacf62d4459477d8 (diff)
sched: kill sync_cpu maintenance
We assume boot CPU as a sync CPU and initialize it's window_start to sched_ktime_clock(). As windows are synchronized across all CPUs, the secondary CPUs' window_start are initialized from the sync_cpu's window_start. A CPU's window_start is never reset, so this synchronization happens only once for a given CPU. Given this fact, there is no need to reassigning the sync_cpu role to another CPU when the boot CPU is going offline. Remove this unnecessary maintenance of sync_cpu and use any online CPU's window_start as reference. Change-Id: I169a8e80573c6dbcb1edeab0659c07c17102f4c9 Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Diffstat (limited to 'arch/openrisc')
0 files changed, 0 insertions, 0 deletions