diff options
author | Jesper Juhl <jj@chaosbits.net> | 2010-11-28 15:39:34 -0500 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2010-11-28 17:08:04 -0500 |
commit | fa9f90be745d3b600a9d97a063be404c5e5d9071 (patch) | |
tree | b1d3a0c309c2518effde9df050c2714d116f98e9 /kernel/perf_event.c | |
parent | 73d8c34f3d78ccf90a431c221df10377affce650 (diff) |
Kill off a bunch of warning: ‘inline’ is not at beginning of declaration
These warnings are spewed during a build of a 'allnoconfig' kernel
(especially the ones from u64_stats_sync.h show up a lot) when building
with -Wextra (which I often do)..
They are
a) annoying
b) easy to get rid of.
This patch kills them off.
include/linux/u64_stats_sync.h:70:1: warning: ‘inline’ is not at beginning of declaration
include/linux/u64_stats_sync.h:77:1: warning: ‘inline’ is not at beginning of declaration
include/linux/u64_stats_sync.h:84:1: warning: ‘inline’ is not at beginning of declaration
include/linux/u64_stats_sync.h:96:1: warning: ‘inline’ is not at beginning of declaration
include/linux/u64_stats_sync.h:115:1: warning: ‘inline’ is not at beginning of declaration
include/linux/u64_stats_sync.h:127:1: warning: ‘inline’ is not at beginning of declaration
kernel/time.c:241:1: warning: ‘inline’ is not at beginning of declaration
kernel/time.c:257:1: warning: ‘inline’ is not at beginning of declaration
kernel/perf_event.c:4513:1: warning: ‘inline’ is not at beginning of declaration
mm/page_alloc.c:4012:1: warning: ‘inline’ is not at beginning of declaration
Signed-off-by: Jesper Juhl <jj@chaosbits.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'kernel/perf_event.c')
-rw-r--r-- | kernel/perf_event.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/perf_event.c b/kernel/perf_event.c index 517d827f4982..06682e7b12e2 100644 --- a/kernel/perf_event.c +++ b/kernel/perf_event.c | |||
@@ -4454,7 +4454,7 @@ int perf_swevent_get_recursion_context(void) | |||
4454 | } | 4454 | } |
4455 | EXPORT_SYMBOL_GPL(perf_swevent_get_recursion_context); | 4455 | EXPORT_SYMBOL_GPL(perf_swevent_get_recursion_context); |
4456 | 4456 | ||
4457 | void inline perf_swevent_put_recursion_context(int rctx) | 4457 | inline void perf_swevent_put_recursion_context(int rctx) |
4458 | { | 4458 | { |
4459 | struct swevent_htable *swhash = &__get_cpu_var(swevent_htable); | 4459 | struct swevent_htable *swhash = &__get_cpu_var(swevent_htable); |
4460 | 4460 | ||