mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-30 21:54:50 +00:00
arm: add .arch_extension sec for smc instruction
Clang 4.0 accepts the smc instruction with or without specifying .arch_extension sec, but Clang 5.0 produces an error without it. MFC after: 3 weeks Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
46375c65f6
commit
fa8d7c4417
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=320065
|
@ -28,7 +28,8 @@
|
|||
#include <machine/asm.h>
|
||||
__FBSDID("$FreeBSD$");
|
||||
|
||||
.arch_extension virt /* For hvc */
|
||||
.arch_extension sec /* For smc */
|
||||
.arch_extension virt /* For hvc */
|
||||
|
||||
/*
|
||||
* int psci_hvc_despatch(register_t psci_fnid, register_t...)
|
||||
|
|
Loading…
Reference in a new issue