int i;
int rc;
u64 mpidr = processor->arm_mpidr & MPIDR_HWID_MASK;
- bool_t enabled = !!(processor->flags & ACPI_MADT_ENABLED);
+ bool enabled = processor->flags & ACPI_MADT_ENABLED;
if ( mpidr == MPIDR_INVALID )
{
return -EINVAL;
}
-static bool_t __initdata param_acpi_off;
-static bool_t __initdata param_acpi_force;
+static bool __initdata param_acpi_off;
+static bool __initdata param_acpi_force;
static int __init parse_acpi_param(const char *arg)
{
return ((char *) base + offset);
}
-/* 1 to indicate PSCI 0.2+ is implemented */
-bool_t __init acpi_psci_present(void)
+/* True to indicate PSCI 0.2+ is implemented */
+bool __init acpi_psci_present(void)
{
return acpi_gbl_FADT.arm_boot_flags & ACPI_FADT_PSCI_COMPLIANT;
}
-/* 1 to indicate HVC is present instead of SMC as the PSCI conduit */
-bool_t __init acpi_psci_hvc_present(void)
+/* True to indicate HVC is present instead of SMC as the PSCI conduit */
+bool __init acpi_psci_hvc_present(void)
{
return acpi_gbl_FADT.arm_boot_flags & ACPI_FADT_PSCI_USE_HVC;
}
struct cpuinfo_arm __read_mostly boot_cpu_data;
#ifdef CONFIG_ACPI
-bool_t __read_mostly acpi_disabled;
+bool __read_mostly acpi_disabled;
#endif
#ifdef CONFIG_ARM_32
TBL_MMAX,
} EFI_MEM_RES;
-bool_t __init acpi_psci_present(void);
-bool_t __init acpi_psci_hvc_present(void);
+bool __init acpi_psci_present(void);
+bool __init acpi_psci_hvc_present(void);
void __init acpi_smp_init_cpus(void);
/*
paddr_t acpi_get_table_offset(struct membank tbl_add[], EFI_MEM_RES index);
#ifdef CONFIG_ACPI
-extern bool_t acpi_disabled;
+extern bool acpi_disabled;
/* Basic configuration for ACPI */
static inline void disable_acpi(void)
{
- acpi_disabled = 1;
+ acpi_disabled = true;
}
static inline void enable_acpi(void)
{
- acpi_disabled = 0;
+ acpi_disabled = false;
}
#else
-#define acpi_disabled (1)
+#define acpi_disabled (true)
#define disable_acpi()
#define enable_acpi()
#endif