diff options
author | Paul Mundt <lethal@linux-sh.org> | 2008-10-22 19:31:11 +0900 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2008-10-23 21:54:34 +0200 |
commit | bea92112415635ecb7e681355834413c7c048f67 (patch) | |
tree | b725a07dfe256d9bb2c28d3cb8b810a2a1be17d7 /kernel/resource.c | |
parent | acff181d3574244e651913df77332e897b88bff4 (diff) | |
download | linux-bea92112415635ecb7e681355834413c7c048f67.tar.gz linux-bea92112415635ecb7e681355834413c7c048f67.tar.bz2 linux-bea92112415635ecb7e681355834413c7c048f67.zip |
kernel/resource: fix reserve_region_with_split() section mismatch
Impact: cleanup, small kernel text size reduction, no functionality changed
reserve_region_with_split() calls in to __reserve_region_with_split(),
which is an __init function. The only caller of reserve_region_with_split()
is an __init function, so make it __init too.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/resource.c')
-rw-r--r-- | kernel/resource.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/resource.c b/kernel/resource.c index 4089d12af6e0..7fec0e427234 100644 --- a/kernel/resource.c +++ b/kernel/resource.c @@ -571,7 +571,7 @@ static void __init __reserve_region_with_split(struct resource *root, } -void reserve_region_with_split(struct resource *root, +void __init reserve_region_with_split(struct resource *root, resource_size_t start, resource_size_t end, const char *name) { |