Page MenuHomeFreeBSD

power: Rename sleep types
ClosedPublic

Authored by obiwac on May 10 2026, 12:21 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Jul 5, 7:32 AM
Unknown Object (File)
Sat, Jul 4, 6:30 AM
Unknown Object (File)
Thu, Jul 2, 4:28 PM
Unknown Object (File)
Thu, Jun 18, 1:29 PM
Unknown Object (File)
Wed, Jun 17, 3:20 PM
Unknown Object (File)
Jun 5 2026, 9:31 PM
Unknown Object (File)
Jun 3 2026, 6:52 PM
Unknown Object (File)
May 31 2026, 12:43 PM

Details

Summary

Make sleep type names clearer and more consistent, and allow space for
something like "os_hibernate" once that gets added to FreeBSD.

Sponsored by: The FreeBSD Foundation

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 72966
Build 69849: arc lint + arc unit

Event Timeline

Forgot to change this in all the places it's used

Thank you for fixing this!

This revision is now accepted and ready to land.May 11 2026, 6:07 AM
sys/sys/power.h
72

POWER_STYPE_OS_HIBERNATE would go right here, after fw_hibernate

This revision was automatically updated to reflect the committed changes.