archacpi: leave acpi enabled with *acpi=

*acpi= was treated the same as *acpi=0, when we
want it to be treated the same as *acpi=1
This commit is contained in:
Ori Bernstein 2021-09-13 23:56:26 +00:00
parent 4f310b8f51
commit 390abbd1c7

View file

@ -791,7 +791,7 @@ identify(void)
char *cp;
Tbl *t;
if((cp = getconf("*acpi")) == nil)
if((cp = getconf("*acpi")) == nil || *cp == '\0')
cp = "1"; /* search for rsd by default */
v = (uintptr)strtoull(cp, nil, 16);
if(v <= 1)