diff options
Diffstat (limited to 'include/linux/psci.h')
-rw-r--r-- | include/linux/psci.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/psci.h b/include/linux/psci.h index f724fd8c78e8..f2679e5faa4f 100644 --- a/include/linux/psci.h +++ b/include/linux/psci.h | |||
@@ -25,6 +25,12 @@ bool psci_tos_resident_on(int cpu); | |||
25 | int psci_cpu_init_idle(unsigned int cpu); | 25 | int psci_cpu_init_idle(unsigned int cpu); |
26 | int psci_cpu_suspend_enter(unsigned long index); | 26 | int psci_cpu_suspend_enter(unsigned long index); |
27 | 27 | ||
28 | enum psci_conduit { | ||
29 | PSCI_CONDUIT_NONE, | ||
30 | PSCI_CONDUIT_SMC, | ||
31 | PSCI_CONDUIT_HVC, | ||
32 | }; | ||
33 | |||
28 | struct psci_operations { | 34 | struct psci_operations { |
29 | u32 (*get_version)(void); | 35 | u32 (*get_version)(void); |
30 | int (*cpu_suspend)(u32 state, unsigned long entry_point); | 36 | int (*cpu_suspend)(u32 state, unsigned long entry_point); |
@@ -34,6 +40,7 @@ struct psci_operations { | |||
34 | int (*affinity_info)(unsigned long target_affinity, | 40 | int (*affinity_info)(unsigned long target_affinity, |
35 | unsigned long lowest_affinity_level); | 41 | unsigned long lowest_affinity_level); |
36 | int (*migrate_info_type)(void); | 42 | int (*migrate_info_type)(void); |
43 | enum psci_conduit conduit; | ||
37 | }; | 44 | }; |
38 | 45 | ||
39 | extern struct psci_operations psci_ops; | 46 | extern struct psci_operations psci_ops; |