File tree 2 files changed +0
-22
lines changed
2 files changed +0
-22
lines changed Original file line number Diff line number Diff line change 31
31
#ifdef CONFIG_PPC_ICP_NATIVE
32
32
extern int icp_native_init (void );
33
33
extern void icp_native_flush_interrupt (void );
34
- extern void icp_native_cause_ipi_rm (int cpu );
35
34
#else
36
35
static inline int icp_native_init (void ) { return - ENODEV ; }
37
36
#endif
Original file line number Diff line number Diff line change @@ -145,27 +145,6 @@ static void icp_native_cause_ipi(int cpu)
145
145
icp_native_set_qirr (cpu , IPI_PRIORITY );
146
146
}
147
147
148
- #ifdef CONFIG_KVM_BOOK3S_HV_POSSIBLE
149
- void icp_native_cause_ipi_rm (int cpu )
150
- {
151
- /*
152
- * Currently not used to send IPIs to another CPU
153
- * on the same core. Only caller is KVM real mode.
154
- * Need the physical address of the XICS to be
155
- * previously saved in kvm_hstate in the paca.
156
- */
157
- void __iomem * xics_phys ;
158
-
159
- /*
160
- * Just like the cause_ipi functions, it is required to
161
- * include a full barrier before causing the IPI.
162
- */
163
- xics_phys = paca_ptrs [cpu ]-> kvm_hstate .xics_phys ;
164
- mb ();
165
- __raw_rm_writeb (IPI_PRIORITY , xics_phys + XICS_MFRR );
166
- }
167
- #endif
168
-
169
148
/*
170
149
* Called when an interrupt is received on an off-line CPU to
171
150
* clear the interrupt, so that the CPU can go back to nap mode.
You can’t perform that action at this time.
0 commit comments