|
@@ -40,6 +40,11 @@ extern int acpi_lapic;
|
|
|
#define acpi_noirq 0 /* ACPI always enabled on IA64 */
|
|
#define acpi_noirq 0 /* ACPI always enabled on IA64 */
|
|
|
#define acpi_pci_disabled 0 /* ACPI PCI always enabled on IA64 */
|
|
#define acpi_pci_disabled 0 /* ACPI PCI always enabled on IA64 */
|
|
|
#define acpi_strict 1 /* no ACPI spec workarounds on IA64 */
|
|
#define acpi_strict 1 /* no ACPI spec workarounds on IA64 */
|
|
|
|
|
+
|
|
|
|
|
+static inline bool acpi_has_cpu_in_madt(void)
|
|
|
|
|
+{
|
|
|
|
|
+ return !!acpi_lapic;
|
|
|
|
|
+}
|
|
|
#endif
|
|
#endif
|
|
|
#define acpi_processor_cstate_check(x) (x) /* no idle limits on IA64 :) */
|
|
#define acpi_processor_cstate_check(x) (x) /* no idle limits on IA64 :) */
|
|
|
static inline void disable_acpi(void) { }
|
|
static inline void disable_acpi(void) { }
|