* [PATCH] kernel/resource: Fix reserve_region_with_split() section mismatch.
@ 2008-10-22 10:31 Paul Mundt
2008-10-22 11:36 ` Ingo Molnar
0 siblings, 1 reply; 2+ messages in thread
From: Paul Mundt @ 2008-10-22 10:31 UTC (permalink / raw)
To: Andrew Morton; +Cc: linux-kernel, Yinghai Lu, Ingo Molnar
reserve_region_with_split() calls in to __reserve_region_with_split(),
which is an __init function. All callers of reserve_region_with_split()
are also __init functions, so make it __init too.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
---
kernel/resource.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/resource.c b/kernel/resource.c
index 4089d12..7fec0e4 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)
{
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] kernel/resource: Fix reserve_region_with_split() section mismatch.
2008-10-22 10:31 [PATCH] kernel/resource: Fix reserve_region_with_split() section mismatch Paul Mundt
@ 2008-10-22 11:36 ` Ingo Molnar
0 siblings, 0 replies; 2+ messages in thread
From: Ingo Molnar @ 2008-10-22 11:36 UTC (permalink / raw)
To: Paul Mundt, Andrew Morton, linux-kernel, Yinghai Lu
* Paul Mundt <lethal@linux-sh.org> wrote:
> reserve_region_with_split() calls in to __reserve_region_with_split(),
> which is an __init function. [...]
applied to tip/core/urgent, thanks Paul!
> [...] All callers of reserve_region_with_split() are also __init
> functions, so make it __init too.
... there's a single caller of that function ;-)
Ingo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-10-22 11:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-22 10:31 [PATCH] kernel/resource: Fix reserve_region_with_split() section mismatch Paul Mundt
2008-10-22 11:36 ` Ingo Molnar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox