]> git.baikalelectronics.ru Git - kernel.git/commit
ksm: use the helper method to do the hlist_empty check
authorAndrea Arcangeli <aarcange@redhat.com>
Fri, 6 Nov 2015 02:49:13 +0000 (18:49 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 6 Nov 2015 03:34:48 +0000 (19:34 -0800)
commitaa7c9b4fe4247d7b859a68cb92d364ec9eae06b2
tree46e4b858cb8ab69a510ce2518ff9b83ab9666e1a
parent58604a9b4c95d0ecb98fd35747372bfec33f4e2c
ksm: use the helper method to do the hlist_empty check

This just uses the helper function to cleanup the assumption on the
hlist_node internals.

Signed-off-by: Andrea Arcangeli <aarcange@redhat.com>
Acked-by: Hugh Dickins <hughd@google.com>
Cc: Petr Holasek <pholasek@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/ksm.c