1 --- a/arch/mips/cavium-octeon/executive/cvmx-helper-errata.c
2 +++ b/arch/mips/cavium-octeon/executive/cvmx-helper-errata.c
3 @@ -272,6 +272,7 @@ fix_ipd_exit:
5 * Returns Zero on success, negative on failure
8 int __cvmx_helper_errata_asx_pass1(int interface, int port, int cpu_clock_hz)
10 /* Set hi water mark as per errata GMX-4 */
11 @@ -289,6 +290,7 @@ int __cvmx_helper_errata_asx_pass1(int i
18 * This function needs to be called on all Octeon chips with
19 --- a/arch/mips/include/asm/octeon/cvmx-helper-errata.h
20 +++ b/arch/mips/include/asm/octeon/cvmx-helper-errata.h
21 @@ -60,8 +60,8 @@ extern int __cvmx_helper_errata_fix_ipd_
23 * Returns Zero on success, negative on failure
25 -extern int __cvmx_helper_errata_asx_pass1(int interface, int port,
27 +//extern int __cvmx_helper_errata_asx_pass1(int interface, int port,
28 +// int cpu_clock_hz);
31 * This function needs to be called on all Octeon chips with
32 --- a/arch/mips/cavium-octeon/executive/cvmx-helper-util.c
33 +++ b/arch/mips/cavium-octeon/executive/cvmx-helper-util.c
34 @@ -356,6 +356,7 @@ int cvmx_helper_get_ipd_port(int interfa
36 * Returns Interface number
39 int cvmx_helper_get_interface_num(int ipd_port)
42 @@ -372,6 +373,7 @@ int cvmx_helper_get_interface_num(int ip
49 * Returns the interface index number for an IPD/PKO port
50 @@ -381,6 +383,7 @@ int cvmx_helper_get_interface_num(int ip
52 * Returns Interface index number
55 int cvmx_helper_get_interface_index_num(int ipd_port)
58 @@ -395,6 +398,7 @@ int cvmx_helper_get_interface_index_num(
65 * Initialize the internal QLM JTAG logic to allow programming
66 --- a/arch/mips/include/asm/octeon/cvmx-helper-util.h
67 +++ b/arch/mips/include/asm/octeon/cvmx-helper-util.h
68 @@ -205,7 +205,7 @@ static inline void cvmx_helper_free_pack
70 * Returns Interface number
72 -extern int cvmx_helper_get_interface_num(int ipd_port);
73 +//extern int cvmx_helper_get_interface_num(int ipd_port);
76 * Returns the interface index number for an IPD/PKO port
77 @@ -215,7 +215,7 @@ extern int cvmx_helper_get_interface_num
79 * Returns Interface index number
81 -extern int cvmx_helper_get_interface_index_num(int ipd_port);
82 +//extern int cvmx_helper_get_interface_index_num(int ipd_port);
85 * Initialize the internal QLM JTAG logic to allow programming