futex: Make should_fail_futex() static

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Cc: kbuild-all@01.org
Cc: tipbuild@zytor.com
Cc: Davidlohr Bueso <dave@stgolabs.net>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Darren Hart <darren@dvhart.com>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Brian Silverman <bsilver16384@gmail.com>
Cc: Andy Lutomirski <luto@amacapital.net>
Cc: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
This commit is contained in:
kbuild test robot 2015-07-21 01:40:45 +08:00 committed by Thomas Gleixner
parent 1b0b7c1762
commit 5d285a7f35

View File

@ -279,7 +279,7 @@ static int __init setup_fail_futex(char *str)
} }
__setup("fail_futex=", setup_fail_futex); __setup("fail_futex=", setup_fail_futex);
bool should_fail_futex(bool fshared) static bool should_fail_futex(bool fshared)
{ {
if (fail_futex.ignore_private && !fshared) if (fail_futex.ignore_private && !fshared)
return false; return false;