]> www.infradead.org Git - users/willy/linux.git/commit
um: register power-off handler
authorJohannes Berg <johannes.berg@intel.com>
Wed, 3 Jul 2024 15:38:40 +0000 (17:38 +0200)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 4 Jul 2024 10:03:20 +0000 (12:03 +0200)
commit86abcd6eeb56e49311aea2f4695af0b3b5eaeb26
tree207516673431611e05f90c515fa08f66c0850ea5
parent824ac4a5edd3f7494ab1996826c4f47f8ef0f63d
um: register power-off handler

Otherwise we always get

 reboot: Power off not available: System halted instead

which is really quite pointless.

Link: https://patch.msgid.link/20240703173839.fcbb538c6686.I3d333f4773cff93c4337c4d128ee0b1b501b3dfa@changeid
Acked-By: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
arch/um/kernel/reboot.c