diff options
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2016-01-20 15:00:28 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-01-20 17:09:18 -0800 |
commit | 9425676a363c0976e3d43dda792dc4711a651d1d (patch) | |
tree | 189a4b50b7e55308484d69101abf6b41507072df /lib/842 | |
parent | 5aec01b834fd6f8ca49d1aeede665b950d0c148e (diff) | |
download | linux-9425676a363c0976e3d43dda792dc4711a651d1d.tar.bz2 |
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 'lib/842')
0 files changed, 0 insertions, 0 deletions