diff options
Diffstat (limited to 'arch/mips/cavium-octeon/octeon-irq.c')
-rw-r--r-- | arch/mips/cavium-octeon/octeon-irq.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/arch/mips/cavium-octeon/octeon-irq.c b/arch/mips/cavium-octeon/octeon-irq.c index 7181def6037a..9d36774bded1 100644 --- a/arch/mips/cavium-octeon/octeon-irq.c +++ b/arch/mips/cavium-octeon/octeon-irq.c | |||
@@ -1095,7 +1095,7 @@ static void octeon_irq_ip3_ciu(void) | |||
1095 | 1095 | ||
1096 | static bool octeon_irq_use_ip4; | 1096 | static bool octeon_irq_use_ip4; |
1097 | 1097 | ||
1098 | static void __cpuinit octeon_irq_local_enable_ip4(void *arg) | 1098 | static void octeon_irq_local_enable_ip4(void *arg) |
1099 | { | 1099 | { |
1100 | set_c0_status(STATUSF_IP4); | 1100 | set_c0_status(STATUSF_IP4); |
1101 | } | 1101 | } |
@@ -1110,21 +1110,21 @@ static void (*octeon_irq_ip2)(void); | |||
1110 | static void (*octeon_irq_ip3)(void); | 1110 | static void (*octeon_irq_ip3)(void); |
1111 | static void (*octeon_irq_ip4)(void); | 1111 | static void (*octeon_irq_ip4)(void); |
1112 | 1112 | ||
1113 | void __cpuinitdata (*octeon_irq_setup_secondary)(void); | 1113 | void (*octeon_irq_setup_secondary)(void); |
1114 | 1114 | ||
1115 | void __cpuinit octeon_irq_set_ip4_handler(octeon_irq_ip4_handler_t h) | 1115 | void octeon_irq_set_ip4_handler(octeon_irq_ip4_handler_t h) |
1116 | { | 1116 | { |
1117 | octeon_irq_ip4 = h; | 1117 | octeon_irq_ip4 = h; |
1118 | octeon_irq_use_ip4 = true; | 1118 | octeon_irq_use_ip4 = true; |
1119 | on_each_cpu(octeon_irq_local_enable_ip4, NULL, 1); | 1119 | on_each_cpu(octeon_irq_local_enable_ip4, NULL, 1); |
1120 | } | 1120 | } |
1121 | 1121 | ||
1122 | static void __cpuinit octeon_irq_percpu_enable(void) | 1122 | static void octeon_irq_percpu_enable(void) |
1123 | { | 1123 | { |
1124 | irq_cpu_online(); | 1124 | irq_cpu_online(); |
1125 | } | 1125 | } |
1126 | 1126 | ||
1127 | static void __cpuinit octeon_irq_init_ciu_percpu(void) | 1127 | static void octeon_irq_init_ciu_percpu(void) |
1128 | { | 1128 | { |
1129 | int coreid = cvmx_get_core_num(); | 1129 | int coreid = cvmx_get_core_num(); |
1130 | 1130 | ||
@@ -1167,7 +1167,7 @@ static void octeon_irq_init_ciu2_percpu(void) | |||
1167 | cvmx_read_csr(CVMX_CIU2_SUM_PPX_IP2(coreid)); | 1167 | cvmx_read_csr(CVMX_CIU2_SUM_PPX_IP2(coreid)); |
1168 | } | 1168 | } |
1169 | 1169 | ||
1170 | static void __cpuinit octeon_irq_setup_secondary_ciu(void) | 1170 | static void octeon_irq_setup_secondary_ciu(void) |
1171 | { | 1171 | { |
1172 | octeon_irq_init_ciu_percpu(); | 1172 | octeon_irq_init_ciu_percpu(); |
1173 | octeon_irq_percpu_enable(); | 1173 | octeon_irq_percpu_enable(); |