arm64/smp: Drop the macro S(x,s)
authorAnshuman Khandual <anshuman.khandual@arm.com>
Mon, 9 Nov 2020 11:38:36 +0000 (17:08 +0530)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 10 Nov 2020 18:25:59 +0000 (18:25 +0000)
commit0edaee42eb8c0f3b767ec3c51bee4a3855aa2555
treebe4c53690f0081e388bb86ba537f8d48f0142226
parent833be850f1cabd0e3b5337c0fcab20a6e936dd48
arm64/smp: Drop the macro S(x,s)

Mapping between IPI type index and its string is direct without requiring
an additional offset. Hence the existing macro S(x, s) is now redundant
and can just be dropped. This also makes the code clean and simple.

Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Cc: Will Deacon <will@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Marc Zyngier <maz@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Link: https://lore.kernel.org/r/1604921916-23368-1-git-send-email-anshuman.khandual@arm.com
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/kernel/smp.c