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:
parent
4f310b8f51
commit
390abbd1c7
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue