arm64: Unconditionally support {ARCH_}HAVE_NMI{_SAFE_CMPXCHG}
authorStephen Boyd <sboyd@codeaurora.org>
Wed, 27 Sep 2017 15:51:30 +0000 (08:51 -0700)
committerWill Deacon <will.deacon@arm.com>
Wed, 4 Oct 2017 12:43:00 +0000 (13:43 +0100)
commit396a5d4a5c32598aea5bff5cb2a995026a6f05dc
treec1e57c9cd338ebc566623048fbb58ef20d90d766
parentd1809d0e64325def212825852b02c2c63b40f5cd
arm64: Unconditionally support {ARCH_}HAVE_NMI{_SAFE_CMPXCHG}

From what I can see there isn't anything about ACPI_APEI_SEA that
means the arm64 architecture can or cannot support NMI safe
cmpxchg or NMIs, so the 'if' condition here is not important.
Let's remove it. Doing that allows us to support ftrace
histograms via CONFIG_HIST_TRIGGERS that depends on the arch
having the ARCH_HAVE_NMI_SAFE_CMPXCHG config selected.

Cc: Tyler Baicar <tbaicar@codeaurora.org>
Cc: Jonathan (Zhixiong) Zhang <zjzhang@codeaurora.org>
Cc: Dongjiu Geng <gengdongjiu@huawei.com>
Acked-by: James Morse <james.morse@arm.com>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Will Deacon <will.deacon@arm.com>
arch/arm64/Kconfig