diff options
| author | 2016-01-20 15:00:28 -0800 | |
|---|---|---|
| committer | 2016-01-20 17:09:18 -0800 | |
| commit | 9425676a363c0976e3d43dda792dc4711a651d1d (patch) | |
| tree | 189a4b50b7e55308484d69101abf6b41507072df /tools/perf/scripts/python/futex-contention.py | |
| parent | kernel/cpu.c: eliminate cpu_*_mask (diff) | |
| download | linux-dev-9425676a363c0976e3d43dda792dc4711a651d1d.tar.xz linux-dev-9425676a363c0976e3d43dda792dc4711a651d1d.zip | |
kernel/cpu.c: make set_cpu_* static inlines
Almost all callers of the set_cpu_* functions pass an explicit true or
false. Making them static inline thus replaces the function calls with a
simple set_bit/clear_bit, saving some .text.
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Acked-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/futex-contention.py')
0 files changed, 0 insertions, 0 deletions
