* [PATCH] ARM: fixup section mismatch warning for alloc_init_pud()
@ 2012-03-23 5:41 ` Kuninori Morimoto
0 siblings, 0 replies; 4+ messages in thread
From: Kuninori Morimoto @ 2012-03-23 5:41 UTC (permalink / raw)
To: linux-arm-kernel
This patch fixup below warning
WARNING: arch/arm/mm/built-in.o(.text+0x2320):
Section mismatch in reference from the function alloc_init_pud()
to the function .init.text:alloc_init_section()
The function alloc_init_pud() references
the function __init alloc_init_section().
This is often because alloc_init_pud lacks a __init
annotation or the annotation of alloc_init_section is wrong.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
arch/arm/mm/mmu.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mm/mmu.c b/arch/arm/mm/mmu.c
index 94c5a0c..95a8098 100644
--- a/arch/arm/mm/mmu.c
+++ b/arch/arm/mm/mmu.c
@@ -616,7 +616,7 @@ static void __init alloc_init_section(pud_t *pud, unsigned long addr,
}
}
-static void alloc_init_pud(pgd_t *pgd, unsigned long addr, unsigned long end,
+static void __init alloc_init_pud(pgd_t *pgd, unsigned long addr, unsigned long end,
unsigned long phys, const struct mem_type *type)
{
pud_t *pud = pud_offset(pgd, addr);
--
1.7.5.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH] ARM: fixup section mismatch warning for alloc_init_pud()
@ 2012-03-23 5:41 ` Kuninori Morimoto
0 siblings, 0 replies; 4+ messages in thread
From: Kuninori Morimoto @ 2012-03-23 5:41 UTC (permalink / raw)
To: linux-arm-kernel
This patch fixup below warning
WARNING: arch/arm/mm/built-in.o(.text+0x2320):
Section mismatch in reference from the function alloc_init_pud()
to the function .init.text:alloc_init_section()
The function alloc_init_pud() references
the function __init alloc_init_section().
This is often because alloc_init_pud lacks a __init
annotation or the annotation of alloc_init_section is wrong.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
arch/arm/mm/mmu.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/arm/mm/mmu.c b/arch/arm/mm/mmu.c
index 94c5a0c..95a8098 100644
--- a/arch/arm/mm/mmu.c
+++ b/arch/arm/mm/mmu.c
@@ -616,7 +616,7 @@ static void __init alloc_init_section(pud_t *pud, unsigned long addr,
}
}
-static void alloc_init_pud(pgd_t *pgd, unsigned long addr, unsigned long end,
+static void __init alloc_init_pud(pgd_t *pgd, unsigned long addr, unsigned long end,
unsigned long phys, const struct mem_type *type)
{
pud_t *pud = pud_offset(pgd, addr);
--
1.7.5.4
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] ARM: fixup section mismatch warning for alloc_init_pud()
2012-03-23 5:41 ` Kuninori Morimoto
@ 2012-03-26 10:38 ` Catalin Marinas
-1 siblings, 0 replies; 4+ messages in thread
From: Catalin Marinas @ 2012-03-26 10:38 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Mar 23, 2012 at 05:41:52AM +0000, Kuninori Morimoto wrote:
> This patch fixup below warning
>
> WARNING: arch/arm/mm/built-in.o(.text+0x2320):
> Section mismatch in reference from the function alloc_init_pud()
> to the function .init.text:alloc_init_section()
> The function alloc_init_pud() references
> the function __init alloc_init_section().
> This is often because alloc_init_pud lacks a __init
> annotation or the annotation of alloc_init_section is wrong.
>
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
--
Catalin
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH] ARM: fixup section mismatch warning for alloc_init_pud()
@ 2012-03-26 10:38 ` Catalin Marinas
0 siblings, 0 replies; 4+ messages in thread
From: Catalin Marinas @ 2012-03-26 10:38 UTC (permalink / raw)
To: linux-arm-kernel
On Fri, Mar 23, 2012 at 05:41:52AM +0000, Kuninori Morimoto wrote:
> This patch fixup below warning
>
> WARNING: arch/arm/mm/built-in.o(.text+0x2320):
> Section mismatch in reference from the function alloc_init_pud()
> to the function .init.text:alloc_init_section()
> The function alloc_init_pud() references
> the function __init alloc_init_section().
> This is often because alloc_init_pud lacks a __init
> annotation or the annotation of alloc_init_section is wrong.
>
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Catalin Marinas <catalin.marinas@arm.com>
--
Catalin
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-03-26 10:38 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-23 5:41 [PATCH] ARM: fixup section mismatch warning for alloc_init_pud() Kuninori Morimoto
2012-03-23 5:41 ` Kuninori Morimoto
2012-03-26 10:38 ` Catalin Marinas
2012-03-26 10:38 ` Catalin Marinas
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.