diff options
author | Xiang Wang <wxjstz@126.com> | 2018-07-04 15:57:52 +0800 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2018-07-06 13:07:08 +0000 |
commit | 8889e0106db85656857d44a56b13a6eec6192013 (patch) | |
tree | fbbc7d80918a5b282a8e1cab485ccec59d979e6e /src/arch/riscv/mcall.c | |
parent | 12f0b4c80eeb6865fdb5120fd0320cd9ef8073f6 (diff) |
riscv: use __riscv_atomic to check support A extension
GCC pre-defined some macros for detecting ISA extensions.
We should use these macros to detect ISA features.
Change-Id: I5782cdd1bf64b0161c58d789f46389dccfe44475
Signed-off-by: XiangWang <wxjstz@126.com>
Reviewed-on: https://review.coreboot.org/27300
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net>
Diffstat (limited to 'src/arch/riscv/mcall.c')
0 files changed, 0 insertions, 0 deletions