arm64: barrier: Remove spec_bar() macro
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 25 Mar 2021 14:13:04 +0000 (15:13 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Thu, 25 Mar 2021 18:05:46 +0000 (18:05 +0000)
commit4f30ba1cce36d413c46097c1f3f96891c662a6d6
tree0a9b073f1ebb4ef388f262c6b940cc1b034a545d
parent9eef29d8c31bdb8d6254b99e3dc741c75832fd6b
arm64: barrier: Remove spec_bar() macro

The spec_bar() macro was introduced in
commit bd4fb6d270bc ("arm64: Add support for SB barrier and patch in over DSB; ISB sequences")
as a way for C to insert a speculation barrier and was then
used in one single place: set_fs().

Later on
commit 3d2403fd10a1 ("arm64: uaccess: remove set_fs()")
deleted set_fs() altogether and as noted in the commit
on the new path the regular sb() assembly macro will
be used.

Delete the remnant.

Cc: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Mark Rutland <mark.rutland@arm.com>
Link: https://lore.kernel.org/r/20210325141304.1607595-1-linus.walleij@linaro.org
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
arch/arm64/include/asm/barrier.h