]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite390f402ead75924a245a39b03286cbac39dfe0c
tree9329d3d4d8f5aed5595b9201b14ddff619276363
parent818a82100abf4154df435464770a8435dc41469f
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