提交 1874a088 编写于 作者: R Ralf Baechle

MIPS: Cavium: Remove unused watchdog code.

Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 c948aca4
...@@ -279,14 +279,6 @@ static void octeon_cpu_die(unsigned int cpu) ...@@ -279,14 +279,6 @@ static void octeon_cpu_die(unsigned int cpu)
uint32_t avail_coremask; uint32_t avail_coremask;
struct cvmx_bootmem_named_block_desc *block_desc; struct cvmx_bootmem_named_block_desc *block_desc;
#ifdef CONFIG_CAVIUM_OCTEON_WATCHDOG
/* Disable the watchdog */
cvmx_ciu_wdogx_t ciu_wdog;
ciu_wdog.u64 = cvmx_read_csr(CVMX_CIU_WDOGX(cpu));
ciu_wdog.s.mode = 0;
cvmx_write_csr(CVMX_CIU_WDOGX(cpu), ciu_wdog.u64);
#endif
while (per_cpu(cpu_state, cpu) != CPU_DEAD) while (per_cpu(cpu_state, cpu) != CPU_DEAD)
cpu_relax(); cpu_relax();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册