acpi.h (7c59a3df15df29c8402a05b92385e83e55355778) acpi.h (fccb9a81fd08b61bed91ddef88341694f8ecbfd1)
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

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

66 * initialization, CPU will be always available in MADT on ARM64.
67 */
68static inline bool acpi_has_cpu_in_madt(void)
69{
70 return true;
71}
72
73static inline void arch_fix_phys_package_id(int num, u32 slot) { }
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

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

66 * initialization, CPU will be always available in MADT on ARM64.
67 */
68static inline bool acpi_has_cpu_in_madt(void)
69{
70 return true;
71}
72
73static inline void arch_fix_phys_package_id(int num, u32 slot) { }
74void __init acpi_init_cpus(void);
74
75#else
76static inline bool acpi_psci_present(void) { return false; }
77static inline bool acpi_psci_use_hvc(void) { return false; }
75
76#else
77static inline bool acpi_psci_present(void) { return false; }
78static inline bool acpi_psci_use_hvc(void) { return false; }
79static inline void acpi_init_cpus(void) { }
78#endif /* CONFIG_ACPI */
79
80#endif /*_ASM_ACPI_H*/
80#endif /* CONFIG_ACPI */
81
82#endif /*_ASM_ACPI_H*/