svn commit: r321052 - stable/11/sys/dev/psci
Ed Maste
emaste at FreeBSD.org
Sun Jul 16 19:16:04 UTC 2017
Author: emaste
Date: Sun Jul 16 19:16:02 2017
New Revision: 321052
URL: https://svnweb.freebsd.org/changeset/base/321052
Log:
MFC r320065: 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.
Sponsored by: The FreeBSD Foundation
Modified:
stable/11/sys/dev/psci/psci_arm.S
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/dev/psci/psci_arm.S
==============================================================================
--- stable/11/sys/dev/psci/psci_arm.S Sun Jul 16 17:36:23 2017 (r321051)
+++ stable/11/sys/dev/psci/psci_arm.S Sun Jul 16 19:16:02 2017 (r321052)
@@ -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...)
More information about the svn-src-stable-11
mailing list