]> git.baikalelectronics.ru Git - kernel.git/commit
x86/mm/pat: Do not pass 'rb_root' down the memtype tree helper functions
authorDavidlohr Bueso <dave@stgolabs.net>
Thu, 21 Nov 2019 01:15:59 +0000 (17:15 -0800)
committerIngo Molnar <mingo@kernel.org>
Thu, 21 Nov 2019 17:47:59 +0000 (18:47 +0100)
commit7006d7b1d281b42bd4861fe8dd952874539d26be
treeba4fee0f385d28d38b0becd218c41561c6773941
parent42689642eb3dc7c5b234677c70776fc05aab77c0
x86/mm/pat: Do not pass 'rb_root' down the memtype tree helper functions

Get rid of the passing the rb_root down the helper calls; there
is only one: &memtype_rbroot.

No change in functionality.

[ mingo: Fixed the changelog which described a different version of the patch. ]

Signed-off-by: Davidlohr Bueso <dbueso@suse.de>
Reviewed-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Borislav Petkov <bp@alien8.de>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Link: https://lkml.kernel.org/r/20191121011601.20611-3-dave@stgolabs.net
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/mm/pat_rbtree.c