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)
commit6a9930b1c50d83facfa0f78e4f2f9ba0364f43f3
treeba4fee0f385d28d38b0becd218c41561c6773941
parent8d04a5f97a5fa9d7afdf46eda3a5ceaa973a1bcc
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