futex: Make should_fail_futex() static
authorkbuild test robot <fengguang.wu@intel.com>
Mon, 20 Jul 2015 17:40:45 +0000 (01:40 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 20 Jul 2015 19:43:54 +0000 (21:43 +0200)
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>
kernel/futex.c

index 6ea31bb703c95c209db9dee42a5ab4f943ef018a..6e443efc65f41e8cd1d0bdf2d31afc63207390c1 100644 (file)
@@ -279,7 +279,7 @@ static int __init setup_fail_futex(char *str)
 }
 __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)
                return false;