x86/mpx: Make unnecessarily global function static
authorTobias Klauser <tklauser@distanz.ch>
Wed, 8 Mar 2017 13:30:34 +0000 (14:30 +0100)
committerIngo Molnar <mingo@kernel.org>
Thu, 16 Mar 2017 08:17:05 +0000 (09:17 +0100)
commit6bce725a78de1b171928ce66dec2bae4b569e5d1
tree2c3a024a557a94aefeb2fd3ad27ad3925559401a
parent49ec8f5b6ae3ab60385492cad900ffc8a523c895
x86/mpx: Make unnecessarily global function static

Make the function get_user_bd_entry() static as it is not used outside of
arch/x86/mm/mpx.c

This fixes a sparse warning.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Cc: Dave Hansen <dave.hansen@linux.intel.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/mm/mpx.c