]> git.karo-electronics.de Git - karo-tx-linux.git/commit
PM / Hibernate: use rb_entry
authorDavidlohr Bueso <dave@gnu.org>
Mon, 22 Oct 2012 23:21:09 +0000 (01:21 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Mon, 22 Oct 2012 23:21:09 +0000 (01:21 +0200)
commitc3148fdcb239b101acdf2afc40926cca99945843
tree2fe7dae9e267f17ee64bf1d021774f4cc52e2aa7
parent86dade18e7c1e3f66a42ea5d9ebb12a0530a8449
PM / Hibernate: use rb_entry

Since the software suspend extents are organized in an rbtree, use rb_entry
instead of container_of, as it is semantically more appropriate in order to
get a node as it is iterated.

Signed-off-by: Davidlohr Bueso <dave@gnu.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
kernel/power/swap.c