]> git.kernelconcepts.de Git - karo-tx-linux.git/blob - arch/arm64/include/asm/psci.h
module: Fix locking in symbol_put_addr()
[karo-tx-linux.git] / arch / arm64 / include / asm / psci.h
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) 2013 ARM Limited
12  */
13
14 #ifndef __ASM_PSCI_H
15 #define __ASM_PSCI_H
16
17 int __init psci_dt_init(void);
18
19 #ifdef CONFIG_ACPI
20 int __init psci_acpi_init(void);
21 bool __init acpi_psci_present(void);
22 bool __init acpi_psci_use_hvc(void);
23 #else
24 static inline int psci_acpi_init(void) { return 0; }
25 static inline bool acpi_psci_present(void) { return false; }
26 #endif
27
28 #endif /* __ASM_PSCI_H */