acpi.h (c3b5d3cea508d2c8ff493ef18c45a9cc58fb7015) acpi.h (0f0783365cbb7ec13a8f02198f6e1a146d94a5a9)
1/*
2 * Copyright (C) 2013-2014, Linaro Ltd.
3 * Author: Al Stone <al.stone@linaro.org>
4 * Author: Graeme Gregory <graeme.gregory@linaro.org>
5 * Author: Hanjun Guo <hanjun.guo@linaro.org>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as

--- 79 unchanged lines hidden (view full) ---

88void __init acpi_init_cpus(void);
89
90#else
91static inline bool acpi_psci_present(void) { return false; }
92static inline bool acpi_psci_use_hvc(void) { return false; }
93static inline void acpi_init_cpus(void) { }
94#endif /* CONFIG_ACPI */
95
1/*
2 * Copyright (C) 2013-2014, Linaro Ltd.
3 * Author: Al Stone <al.stone@linaro.org>
4 * Author: Graeme Gregory <graeme.gregory@linaro.org>
5 * Author: Hanjun Guo <hanjun.guo@linaro.org>
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as

--- 79 unchanged lines hidden (view full) ---

88void __init acpi_init_cpus(void);
89
90#else
91static inline bool acpi_psci_present(void) { return false; }
92static inline bool acpi_psci_use_hvc(void) { return false; }
93static inline void acpi_init_cpus(void) { }
94#endif /* CONFIG_ACPI */
95
96static inline const char *acpi_get_enable_method(int cpu)
97{
98 return acpi_psci_present() ? "psci" : NULL;
99}
96#endif /*_ASM_ACPI_H*/
100#endif /*_ASM_ACPI_H*/