aboutsummaryrefslogtreecommitdiff
path: root/kernel/compat.c
diff options
context:
space:
mode:
authorDavidlohr Bueso <dave@gnu.org>2012-10-23 01:21:09 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2012-11-15 00:37:08 +0100
commit8316bd72c0248adbb9572abf2dd045a95f682bcd (patch)
treead2c06325c8ac48109c04055fe6375293d5d98ca /kernel/compat.c
parent883ee4f79d636d13f24c2479c66d42cb652b0239 (diff)
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>
Diffstat (limited to 'kernel/compat.c')
0 files changed, 0 insertions, 0 deletions