Skip to content

Commit ec97a43

Browse files
Finn Thainkimocoder
authored andcommitted
powerpc/tau: Remove duplicated set_thresholds() call
[ Upstream commit 420ab2bc7544d978a5d0762ee736412fe9c796ab ] The commentary at the call site seems to disagree with the code. The conditional prevents calling set_thresholds() via the exception handler, which appears to crash. Perhaps that's because it immediately triggers another TAU exception. Anyway, calling set_thresholds() from TAUupdate() is redundant because tau_timeout() does so. Fixes: 1da177e ("Linux-2.6.12-rc2") Signed-off-by: Finn Thain <[email protected]> Tested-by: Stan Johnson <[email protected]> Signed-off-by: Michael Ellerman <[email protected]> Link: https://lore.kernel.org/r/d7c7ee33232cf72a6a6bbb6ef05838b2e2b113c0.1599260540.git.fthain@telegraphics.com.au Signed-off-by: Sasha Levin <[email protected]>
1 parent 641c906 commit ec97a43

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

arch/powerpc/kernel/tau_6xx.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,6 @@ void TAUupdate(int cpu)
107107
#ifdef DEBUG
108108
printk("grew = %d\n", tau[cpu].grew);
109109
#endif
110-
111-
#ifndef CONFIG_TAU_INT /* tau_timeout will do this if not using interrupts */
112-
set_thresholds(cpu);
113-
#endif
114-
115110
}
116111

117112
#ifdef CONFIG_TAU_INT

0 commit comments

Comments
 (0)