OSDN Git Service

powerpc: Inline doorbell sending functions
authorNicholas Piggin <npiggin@gmail.com>
Sun, 26 Jul 2020 03:51:53 +0000 (13:51 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 29 Jul 2020 11:02:09 +0000 (21:02 +1000)
commit1f0ce497433f8944045ee1baae218e31a0d295ee
tree3af5536dbcfef275ad6a1c7eb78e06661c5bf285
parent443359aebce0e17148251c0e316801fe69aa7d33
powerpc: Inline doorbell sending functions

These are only called in one place for a given platform, so inline
them for performance.

Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Tested-by: Cédric Le Goater <clg@kaod.org>
[mpe: Fix build errors related to KVM]
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20200726035155.1424103-2-npiggin@gmail.com
arch/powerpc/include/asm/dbell.h
arch/powerpc/include/asm/kvm_booke.h
arch/powerpc/kernel/dbell.c