Skip to content

Commit

Permalink
kernel/resource: fix reserve_region_with_split() section mismatch
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
pmundt authored and Ingo Molnar committed Oct 23, 2008
1 parent acff181 commit bea9211
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/resource.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit bea9211

Please sign in to comment.