Re: acpi: move acpiioctl to x86

2023-07-08 Thread Mark Kettenis
> Date: Fri, 7 Jul 2023 11:56:42 +0200 > From: Tobias Heider > > On Wed, Jul 05, 2023 at 04:53:33PM +0200, Tobias Heider wrote: > > I am planning to restructure the APM/sleep APIs to make it easier to suspend > > from more places like as a suspend keyboard shortcut. > > > > The acpiioctl handler

Re: acpi: move acpiioctl to x86

2023-07-08 Thread YASUOKA Masahiko
On Fri, 7 Jul 2023 11:56:42 +0200 Tobias Heider wrote: > On Wed, Jul 05, 2023 at 04:53:33PM +0200, Tobias Heider wrote: >> I am planning to restructure the APM/sleep APIs to make it easier to suspend >> from more places like as a suspend keyboard shortcut. >> >> The acpiioctl handler is x86 speci

Re: acpi: move acpiioctl to x86

2023-07-07 Thread Tobias Heider
On Wed, Jul 05, 2023 at 04:53:33PM +0200, Tobias Heider wrote: > I am planning to restructure the APM/sleep APIs to make it easier to suspend > from more places like as a suspend keyboard shortcut. > > The acpiioctl handler is x86 specific code which is currently built on all > platforms but only

Re: acpi: move acpiioctl to x86

2023-07-05 Thread Theo de Raadt
Sure. Tobias Heider wrote: > I am planning to restructure the APM/sleep APIs to make it easier to suspend > from more places like as a suspend keyboard shortcut. > > The acpiioctl handler is x86 specific code which is currently built on all > platforms but only hooked up on i386 and amd64. It

acpi: move acpiioctl to x86

2023-07-05 Thread Tobias Heider
I am planning to restructure the APM/sleep APIs to make it easier to suspend from more places like as a suspend keyboard shortcut. The acpiioctl handler is x86 specific code which is currently built on all platforms but only hooked up on i386 and amd64. It is also in the way of my plans, so I'd p