]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ksm: use the helper method to do the hlist_empty check
authorAndrea Arcangeli <aarcange@redhat.com>
Wed, 21 Oct 2015 22:03:16 +0000 (09:03 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 21 Oct 2015 22:03:16 +0000 (09:03 +1100)
commitc1384907e437eb8fb33f4af9e299a3aa6bb53771
treeeab4a335a18ea4cdd34bdd48629b5a6c9b392aeb
parent3a3cced76d4e5f753d68893a4783b0f549e9db50
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>
Cc: Hugh Dickins <hughd@google.com>
Cc: Petr Holasek <pholasek@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/ksm.c