aboutsummaryrefslogtreecommitdiff
path: root/src/arch/power8
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/power8')
-rw-r--r--src/arch/power8/include/arch/hlt.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/arch/power8/include/arch/hlt.h b/src/arch/power8/include/arch/hlt.h
index 0fa910b6b0..19c7ecceb8 100644
--- a/src/arch/power8/include/arch/hlt.h
+++ b/src/arch/power8/include/arch/hlt.h
@@ -11,7 +11,9 @@
* GNU General Public License for more details.
*/
-static inline __attribute__((always_inline)) void hlt(void)
+#include <compiler.h>
+
+static __always_inline void hlt(void)
{
while (1)
;