summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-ks8695
diff options
context:
space:
mode:
authorJason Baron <jbaron@redhat.com>2012-02-28 19:49:01 +0100
committerIngo Molnar <mingo@elte.hu>2012-02-28 20:01:08 +0100
commit8eedce996556d7d06522cd3a0e6069141c8dffe0 (patch)
tree1b24c85bd91fed430b3fbdec195fc1d35751e28f /arch/arm/mach-ks8695
parentMerge branch 'perf/jump-labels' into perf/core (diff)
downloadlinux-8eedce996556d7d06522cd3a0e6069141c8dffe0.tar.xz
linux-8eedce996556d7d06522cd3a0e6069141c8dffe0.zip
static keys: Inline the static_key_enabled() function
In the jump label enabled case, calling static_key_enabled() results in a function call. The function returns the results of a compare, so it really doesn't need the overhead of a full function call. Let's make it 'static inline' for both the jump label enabled and disabled cases. Signed-off-by: Jason Baron <jbaron@redhat.com> Cc: a.p.zijlstra@chello.nl Cc: rostedt@goodmis.org Cc: mathieu.desnoyers@polymtl.ca Cc: Andrew Morton <akpm@linux-foundation.org> Cc: Linus Torvalds <torvalds@linux-foundation.org> Link: http://lkml.kernel.org/r/201202281849.q1SIn1p2023270@int-mx10.intmail.prod.int.phx2.redhat.com Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/arm/mach-ks8695')
0 files changed, 0 insertions, 0 deletions