aboutsummaryrefslogtreecommitdiffstats
path: root/arch/mips/include/asm
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2015-03-25 06:44:09 -0400
committerRalf Baechle <ralf@linux-mips.org>2015-04-01 11:21:44 -0400
commit254f0bd99d37341b96977b9fdb153874e20db449 (patch)
treeaea237da71fd7fa9f3a8d36309c69bb474075ddd /arch/mips/include/asm
parent7f481716bc90442bb19e77b53b28c59a41499300 (diff)
MIPS: Octeon: Remove unused function cvmx_reset_octeon().
As suggested by David Daney. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/include/asm')
-rw-r--r--arch/mips/include/asm/octeon/cvmx.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/mips/include/asm/octeon/cvmx.h b/arch/mips/include/asm/octeon/cvmx.h
index 33db1c806b01..774bb45834cb 100644
--- a/arch/mips/include/asm/octeon/cvmx.h
+++ b/arch/mips/include/asm/octeon/cvmx.h
@@ -436,14 +436,6 @@ static inline uint64_t cvmx_get_cycle_global(void)
436 436
437/***************************************************************************/ 437/***************************************************************************/
438 438
439static inline void cvmx_reset_octeon(void)
440{
441 union cvmx_ciu_soft_rst ciu_soft_rst;
442 ciu_soft_rst.u64 = 0;
443 ciu_soft_rst.s.soft_rst = 1;
444 cvmx_write_csr(CVMX_CIU_SOFT_RST, ciu_soft_rst.u64);
445}
446
447/* Return the number of cores available in the chip */ 439/* Return the number of cores available in the chip */
448static inline uint32_t cvmx_octeon_num_cores(void) 440static inline uint32_t cvmx_octeon_num_cores(void)
449{ 441{