~mirabilos/klibc/master

Viewing all changes in revision 2085.

  • Committer: Ben Hutchings
  • Date: 2019-01-20 00:22:24 UTC
  • Revision ID: git-v1:a2f9cd4abe2d5cb72e1e89089b132e866e3cea81
[klibc] resume: Write resume_offset attribute

Support for a device offset as part of the string written to
/sys/power/resume never got into a mainline kernel.

However, since Linux 4.17 there is a separate resume_offset attribute
that we can use to set the offset before attempting to resume.

Change resume() to write the resume_offset attribute instead.

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: