aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/arm-smccc.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/linux/arm-smccc.h b/include/linux/arm-smccc.h
index e1ef944ef1da..dd44d8458c04 100644
--- a/include/linux/arm-smccc.h
+++ b/include/linux/arm-smccc.h
@@ -14,14 +14,16 @@
14#ifndef __LINUX_ARM_SMCCC_H 14#ifndef __LINUX_ARM_SMCCC_H
15#define __LINUX_ARM_SMCCC_H 15#define __LINUX_ARM_SMCCC_H
16 16
17#include <uapi/linux/const.h>
18
17/* 19/*
18 * This file provides common defines for ARM SMC Calling Convention as 20 * This file provides common defines for ARM SMC Calling Convention as
19 * specified in 21 * specified in
20 * http://infocenter.arm.com/help/topic/com.arm.doc.den0028a/index.html 22 * http://infocenter.arm.com/help/topic/com.arm.doc.den0028a/index.html
21 */ 23 */
22 24
23#define ARM_SMCCC_STD_CALL 0 25#define ARM_SMCCC_STD_CALL _AC(0,U)
24#define ARM_SMCCC_FAST_CALL 1 26#define ARM_SMCCC_FAST_CALL _AC(1,U)
25#define ARM_SMCCC_TYPE_SHIFT 31 27#define ARM_SMCCC_TYPE_SHIFT 31
26 28
27#define ARM_SMCCC_SMC_32 0 29#define ARM_SMCCC_SMC_32 0