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 /mm/page_alloc.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 'mm/page_alloc.c')
-rw-r--r-- | mm/page_alloc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 07a654486f75..f823ee192e94 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c | |||
@@ -4013,7 +4013,7 @@ static void __init setup_usemap(struct pglist_data *pgdat, | |||
4013 | zone->pageblock_flags = alloc_bootmem_node(pgdat, usemapsize); | 4013 | zone->pageblock_flags = alloc_bootmem_node(pgdat, usemapsize); |
4014 | } | 4014 | } |
4015 | #else | 4015 | #else |
4016 | static void inline setup_usemap(struct pglist_data *pgdat, | 4016 | static inline void setup_usemap(struct pglist_data *pgdat, |
4017 | struct zone *zone, unsigned long zonesize) {} | 4017 | struct zone *zone, unsigned long zonesize) {} |
4018 | #endif /* CONFIG_SPARSEMEM */ | 4018 | #endif /* CONFIG_SPARSEMEM */ |
4019 | 4019 | ||