nodemask_t __read_mostly node_online_map = { { [0] = 1UL } };
-bool_t numa_off = 0;
+bool numa_off;
s8 acpi_numa = 0;
int srat_disabled(void)
static __init int numa_setup(char *opt)
{
if ( !strncmp(opt,"off",3) )
- numa_off = 1;
+ numa_off = true;
if ( !strncmp(opt,"on",2) )
- numa_off = 0;
+ numa_off = false;
#ifdef CONFIG_NUMA_EMU
if ( !strncmp(opt, "fake=", 5) )
{
- numa_off = 0;
+ numa_off = false;
numa_fake = simple_strtoul(opt+5,NULL,0);
if ( numa_fake >= MAX_NUMNODES )
numa_fake = MAX_NUMNODES;
#ifdef CONFIG_ACPI_NUMA
if ( !strncmp(opt,"noacpi",6) )
{
- numa_off = 0;
+ numa_off = false;
acpi_numa = -1;
}
#endif