xref: /linux/arch/arm/include/asm/psci.h (revision 75bf465f0bc33e9b776a46d6a1b9b990f5fb7c37)
1*1802d0beSThomas Gleixner /* SPDX-License-Identifier: GPL-2.0-only */
22bdd424fSWill Deacon /*
32bdd424fSWill Deacon  *
42bdd424fSWill Deacon  * Copyright (C) 2012 ARM Limited
52bdd424fSWill Deacon  */
62bdd424fSWill Deacon 
72bdd424fSWill Deacon #ifndef __ASM_ARM_PSCI_H
82bdd424fSWill Deacon #define __ASM_ARM_PSCI_H
92bdd424fSWill Deacon 
1075305275SMasahiro Yamada extern const struct smp_operations psci_smp_ops;
1105774088SStefano Stabellini 
12be95485aSArnd Bergmann #if defined(CONFIG_SMP) && defined(CONFIG_ARM_PSCI)
1305774088SStefano Stabellini bool psci_smp_available(void);
1405774088SStefano Stabellini #else
psci_smp_available(void)1505774088SStefano Stabellini static inline bool psci_smp_available(void) { return false; }
1605774088SStefano Stabellini #endif
172bdd424fSWill Deacon 
182bdd424fSWill Deacon #endif /* __ASM_ARM_PSCI_H */
19