diff options
author | kbuild test robot <fengguang.wu@intel.com> | 2015-07-20 13:40:45 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2015-07-20 15:43:54 -0400 |
commit | 5d285a7f35b55c8fba346306ad3eb174c4f7eab1 (patch) | |
tree | 120aa16eebe1823ca95372f68f541a979b65419f /kernel/futex.c | |
parent | 1b0b7c1762679a2f8bc359da95649249dfcf4195 (diff) |
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>
Diffstat (limited to 'kernel/futex.c')
-rw-r--r-- | kernel/futex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/futex.c b/kernel/futex.c index 6ea31bb703c9..6e443efc65f4 100644 --- a/kernel/futex.c +++ b/kernel/futex.c | |||
@@ -279,7 +279,7 @@ static int __init setup_fail_futex(char *str) | |||
279 | } | 279 | } |
280 | __setup("fail_futex=", setup_fail_futex); | 280 | __setup("fail_futex=", setup_fail_futex); |
281 | 281 | ||
282 | bool should_fail_futex(bool fshared) | 282 | static bool should_fail_futex(bool fshared) |
283 | { | 283 | { |
284 | if (fail_futex.ignore_private && !fshared) | 284 | if (fail_futex.ignore_private && !fshared) |
285 | return false; | 285 | return false; |