Will Deacon | 2bdd424 | 2012-12-12 19:20:52 +0000 | [diff] [blame] | 1 | /* |
| 2 | * This program is free software; you can redistribute it and/or modify |
| 3 | * it under the terms of the GNU General Public License version 2 as |
| 4 | * published by the Free Software Foundation. |
| 5 | * |
| 6 | * This program is distributed in the hope that it will be useful, |
| 7 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 8 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 9 | * GNU General Public License for more details. |
| 10 | * |
| 11 | * Copyright (C) 2012 ARM Limited |
| 12 | */ |
| 13 | |
| 14 | #ifndef __ASM_ARM_PSCI_H |
| 15 | #define __ASM_ARM_PSCI_H |
| 16 | |
Stefano Stabellini | 0577408 | 2013-05-21 14:24:11 +0000 | [diff] [blame] | 17 | extern struct smp_operations psci_smp_ops; |
| 18 | |
| 19 | #ifdef CONFIG_ARM_PSCI |
Stefano Stabellini | 0577408 | 2013-05-21 14:24:11 +0000 | [diff] [blame] | 20 | bool psci_smp_available(void); |
| 21 | #else |
Stefano Stabellini | 0577408 | 2013-05-21 14:24:11 +0000 | [diff] [blame] | 22 | static inline bool psci_smp_available(void) { return false; } |
| 23 | #endif |
Will Deacon | 2bdd424 | 2012-12-12 19:20:52 +0000 | [diff] [blame] | 24 | |
| 25 | #endif /* __ASM_ARM_PSCI_H */ |