Re: acpi(4) attach glue for amd64/i386

2018-07-01 Thread Mike Larkin
On Sun, Jul 01, 2018 at 04:59:47PM +0200, Mark Kettenis wrote: > Diff below moves the attach glue from acpi.c into acpi_machdep.c. > Gets rid of an #ifdef and helps me avoid an ugly hack on arm64. There > is some additional code duplication, but I think this is acceptable. > > ok? > ok

Re: acpi(4) attach glue for amd64/i386

2018-07-01 Thread Philip Guenther
On Sun, Jul 1, 2018 at 8:00 AM Mark Kettenis wrote: > Diff below moves the attach glue from acpi.c into acpi_machdep.c. > Gets rid of an #ifdef and helps me avoid an ugly hack on arm64. There > is some additional code duplication, but I think this is acceptable. > > ok? > Fewer ifdefs, yay.

acpi(4) attach glue for amd64/i386

2018-07-01 Thread Mark Kettenis
Diff below moves the attach glue from acpi.c into acpi_machdep.c. Gets rid of an #ifdef and helps me avoid an ugly hack on arm64. There is some additional code duplication, but I think this is acceptable. ok? Index: arch/amd64/amd64/acpi_machdep.c