Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This is part of the ARM Power State Coordination Interface, see https://developer.arm.com/documentation/den0022/f/?lang=en There are 2 calls: 1 for "system off" and one for "system reset". Previously we supported only "system reset", add support for "system off" as well. I tested with a small Go `init` process which ran: ``` func main() { _ = syscall.Reboot(syscall.LINUX_REBOOT_CMD_POWER_OFF) } ``` Before the patch it would keep running. After this patch it powers off as expected. Signed-off-by: David Scott <dave@recoil.org>
- Loading branch information