From 88d295ae948710b6eec2de332ad16d61d2e6a9cf Mon Sep 17 00:00:00 2001 From: Achin Gupta Date: Sun, 16 Dec 2012 21:46:10 +0000 Subject: [PATCH] ARM: psci: add constants to specify affinity levels This patch defines constants to allow callers of the psci 'suspend' & 'off' calls specify supported affinity levels. Signed-off-by: Achin Gupta Signed-off-by: Liviu Dudau --- arch/arm/include/asm/psci.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm/include/asm/psci.h b/arch/arm/include/asm/psci.h index ce0dbe7c1625..78ce38ff19f2 100644 --- a/arch/arm/include/asm/psci.h +++ b/arch/arm/include/asm/psci.h @@ -16,6 +16,10 @@ #define PSCI_POWER_STATE_TYPE_STANDBY 0 #define PSCI_POWER_STATE_TYPE_POWER_DOWN 1 +#define PSCI_POWER_STATE_AFFINITY_LEVEL0 0 +#define PSCI_POWER_STATE_AFFINITY_LEVEL1 1 +#define PSCI_POWER_STATE_AFFINITY_LEVEL2 2 +#define PSCI_POWER_STATE_AFFINITY_LEVEL3 3 struct psci_power_state { u16 id; -- 2.34.1