mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-23 05:56:14 -04:00
powerpc: Change the doorbell IPI calling convention
Change the doorbell callers to know about their msgsnd addressing, rather than have them set a per-cpu target data tag at boot that gets sent to the cause_ipi functions. The data is only used for doorbell IPI functions, no other IPI types, so it makes sense to keep that detail local to doorbell. Have the platform code understand doorbell IPIs, rather than the interrupt controller code understand them. Platform code can look at capabilities it has available and decide which to use. Signed-off-by: Nicholas Piggin <npiggin@gmail.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
committed by
Michael Ellerman
parent
9b7ff0c658
commit
b866cc2199
@@ -138,7 +138,7 @@ static void icp_hv_set_cpu_priority(unsigned char cppr)
|
||||
|
||||
#ifdef CONFIG_SMP
|
||||
|
||||
static void icp_hv_cause_ipi(int cpu, unsigned long data)
|
||||
static void icp_hv_cause_ipi(int cpu)
|
||||
{
|
||||
icp_hv_set_qirr(cpu, IPI_PRIORITY);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user