ARM: 9033/1: arm/smp: Drop the macro S(x,s)
authorAnshuman Khandual <anshuman.khandual@arm.com>
Mon, 30 Nov 2020 10:24:09 +0000 (11:24 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Mon, 21 Dec 2020 11:19:19 +0000 (11:19 +0000)
commit27bde183b0d3b0e8e84c80db1864a5c7bd20b5e7
tree9329d3d4d8f5aed5595b9201b14ddff619276363
parent76460d613d9b4096f3567bd444e3fc275db1b96b
ARM: 9033/1: arm/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.

Cc: Marc Zyngier <maz@kernel.org>
Cc: linux-arm-kernel@lists.infradead.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Anshuman Khandual <anshuman.khandual@arm.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
arch/arm/kernel/smp.c