x86/mm/pat: Use rb_entry()
commit1013fe32a63d1139b1b32049ea46c0c462738d8b
authorGeliang Tang <geliangtang@gmail.com>
Mon, 19 Dec 2016 14:35:57 +0000 (19 22:35 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Sat, 4 Feb 2017 16:18:00 +0000 (4 17:18 +0100)
tree3f642cada13fd6d5af83f03eea99c6f3808fc4d4
parente64d5fbe56259c94df504af8ce804cfc6a022adb
x86/mm/pat: Use rb_entry()

To make the code clearer, use rb_entry() instead of open coding it

Signed-off-by: Geliang Tang <geliangtang@gmail.com>
Cc: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: Toshi Kani <toshi.kani@hpe.com>
Cc: Paul Gortmaker <paul.gortmaker@windriver.com>
Link: http://lkml.kernel.org/r/974a91cd4ed2d04c92e4faa4765077e38f248d6b.1482157956.git.geliangtang@gmail.com
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
arch/x86/mm/pat_rbtree.c