[PATCH] powerpc/fadump: Fix section mismatch warning

2024-05-16 Thread Michael Ellerman
With some compilers/configs fadump_setup_param_area() isn't inlined into its caller (which is __init), leading to a section mismatch warning: WARNING: modpost: vmlinux: section mismatch in reference: fadump_setup_param_area+0x200 (section: .text.fadump_setup_param

Re: [PATCH] powerpc/fsl-pci: Fix section mismatch warning

2021-03-30 Thread Michael Ellerman
(). Fix it by making setup_pci_cmd() non-init. Applied to powerpc/next. [1/1] powerpc/fsl-pci: Fix section mismatch warning https://git.kernel.org/powerpc/c/b77878052a142737522e0e3c2a621c988a4cd7cd cheers

Re: [PATCH] powerpc: Fix section mismatch warning in smp_setup_pacas()

2021-03-30 Thread Michael Ellerman
it. Applied to powerpc/next. [1/1] powerpc: Fix section mismatch warning in smp_setup_pacas() https://git.kernel.org/powerpc/c/55c2f5574a013d2dbf1012a2ad93cb8d947279a7 cheers

[PATCH] powerpc/fsl-pci: Fix section mismatch warning

2021-03-14 Thread Michael Ellerman
Section mismatch in reference from the function .fsl_add_bridge() to the function .init.text:.setup_pci_cmd() fsl_add_bridge() is not __init, and can't be, and is the only caller of setup_pci_cmd(). Fix it by making setup_pci_cmd() non-init. Signed-off-by: Michael Ellerman --- arch/powerpc/sysd

[PATCH] powerpc: Fix section mismatch warning in smp_setup_pacas()

2021-03-14 Thread Michael Ellerman
Section mismatch in reference from the function .smp_setup_pacas() to the function .init.text:.allocate_paca() The only caller of smp_setup_pacas() is setup_arch() which is __init, so mark smp_setup_pacas() __init. Signed-off-by: Michael Ellerman --- arch/powerpc/kernel/setup-common.c | 2 +- 1

Re: powerpc/mm: Fix section mismatch warning

2019-04-21 Thread Michael Ellerman
On Sat, 2019-03-30 at 05:43:45 UTC, "Aneesh Kumar K.V" wrote: > This patch fix the below section mismatch warnings. > > WARNING: vmlinux.o(.text+0x2d1f44): Section mismatch in reference from the > function devm_memremap_pages_release() to the function > .meminit.text:arch_remove_memory() > WARNI

[PATCH] powerpc/mm: Fix section mismatch warning

2019-03-29 Thread Aneesh Kumar K.V
This patch fix the below section mismatch warnings. WARNING: vmlinux.o(.text+0x2d1f44): Section mismatch in reference from the function devm_memremap_pages_release() to the function .meminit.text:arch_remove_memory() WARNING: vmlinux.o(.text+0x2d265c): Section mismatch in reference from the fun

Re: [v4,01/11] macintosh/via-pmu: Fix section mismatch warning

2018-07-31 Thread Michael Ellerman
On Mon, 2018-07-02 at 08:21:18 UTC, Finn Thain wrote: > The pmu_init() function has the __init qualifier, but the ops struct > that holds a pointer to it does not. This causes a build warning. > The driver works fine because the pointer is only dereferenced early. > > The function is so small that

Re: [PATCH v4 01/11] macintosh/via-pmu: Fix section mismatch warning

2018-07-02 Thread Finn Thain
copy/pasting the warning you are seeing. > > Make sure you have: > > 58935176ad17 powerpc/via-pmu: Fix section mismatch warning > > Thanks > It's true, the section mismatch warning from 'make' has disappeared since I wrote this patch, but that doesn't mean it

Re: [PATCH v4 01/11] macintosh/via-pmu: Fix section mismatch warning

2018-07-02 Thread Mathieu Malaterre
n is so small that there's negligible benefit from using > the __init qualifier. Remove it to fix the warning, consistent with > the other ADB drivers. Would you mind copy/pasting the warning you are seeing. Make sure you have: 58935176ad17 powerpc/via-pmu: Fix section mismatch warni

[PATCH v4 01/11] macintosh/via-pmu: Fix section mismatch warning

2018-07-02 Thread Finn Thain
The pmu_init() function has the __init qualifier, but the ops struct that holds a pointer to it does not. This causes a build warning. The driver works fine because the pointer is only dereferenced early. The function is so small that there's negligible benefit from using the __init qualifier. Rem

[PATCH v3 01/12] macintosh/via-pmu: Fix section mismatch warning

2018-06-13 Thread Finn Thain
The pmu_init() function has the __init qualifier, but the ops struct that holds a pointer to it does not. This causes a build warning. The driver works fine because the pointer is only dereferenced early. The function is so small that there's negligible benefit from using the __init qualifier. Rem

[PATCH v2 01/12] macintosh/via-pmu: Fix section mismatch warning

2018-06-07 Thread Finn Thain
The pmu_init() function has the __init qualifier, but the ops struct that holds a pointer to it does not. This causes a build warning. The driver works fine because the pointer is only dereferenced early. The function is so small that there's negligible benefit from using the __init qualifier. Rem

Re: [PATCH 01/11] macintosh/via-pmu: Fix section mismatch warning

2018-06-04 Thread Geert Uytterhoeven
Hi Finn, On Sat, Jun 2, 2018 at 5:27 AM, Finn Thain wrote: > The pmu_init() function has the __init qualifier, but the ops struct > that holds a pointer to it does not. This causes a build warning. > The driver works fine because the pointer is only dereferenced early. > > The function is so smal

[PATCH 01/11] macintosh/via-pmu: Fix section mismatch warning

2018-06-01 Thread Finn Thain
The pmu_init() function has the __init qualifier, but the ops struct that holds a pointer to it does not. This causes a build warning. The driver works fine because the pointer is only dereferenced early. The function is so small that there's negligible benefit from using the __init qualifier. Rem

Re: powerpc/mm: Fix section mismatch warning in stop_machine_change_mapping()

2018-03-28 Thread Michael Ellerman
On Fri, 2018-03-09 at 20:45:58 UTC, Mauricio Faria de Oliveira wrote: > Fix the warning messages for stop_machine_change_mapping(), and a number > of other affected functions in its call chain. > > All modified functions are under CONFIG_MEMORY_HOTPLUG, so __meminit > is okay (keeps them / does no

Re: [v2] powerpc/via-pmu: Fix section mismatch warning

2018-03-14 Thread Michael Ellerman
On Wed, 2018-02-14 at 21:15:18 UTC, Mathieu Malaterre wrote: > Make the struct via_pmu_driver const to avoid following warning: > > WARNING: vmlinux.o(.data+0x4739c): Section mismatch in reference from the > variable via_pmu_driver to the function .init.text:pmu_init() > The variable via_pmu_driv

Re: [PATCH] powerpc/mm: Fix section mismatch warning in stop_machine_change_mapping()

2018-03-12 Thread Mauricio Faria de Oliveira
Balbir, On 03/11/2018 03:23 AM, Balbir Singh wrote: Looks reasonable, I'd recommend trying to compile with MEMORY_HOTPLUG and MEMORY_HOTREMOVE enabled/disabled as well Thanks for reviewing. I should have mentioned it :) I did that (disable CONFIG_MEMORY_HOTPLUG) and all the related functions

Re: [PATCH] powerpc/mm: Fix section mismatch warning in stop_machine_change_mapping()

2018-03-10 Thread Balbir Singh
On Sat, Mar 10, 2018 at 7:45 AM, Mauricio Faria de Oliveira wrote: > Fix the warning messages for stop_machine_change_mapping(), and a number > of other affected functions in its call chain. > > All modified functions are under CONFIG_MEMORY_HOTPLUG, so __meminit > is okay (keeps them / does not d

[PATCH] powerpc/mm: Fix section mismatch warning in stop_machine_change_mapping()

2018-03-09 Thread Mauricio Faria de Oliveira
Fix the warning messages for stop_machine_change_mapping(), and a number of other affected functions in its call chain. All modified functions are under CONFIG_MEMORY_HOTPLUG, so __meminit is okay (keeps them / does not discard them). Boot-tested on powernv/power9/radix-mmu and pseries/power8/has

Re: [PATCH v2] powerpc/via-pmu: Fix section mismatch warning

2018-02-15 Thread Laurent Vivier
On 14/02/2018 22:15, Mathieu Malaterre wrote: > Make the struct via_pmu_driver const to avoid following warning: > > WARNING: vmlinux.o(.data+0x4739c): Section mismatch in reference from the > variable via_pmu_driver to the function .init.text:pmu_init() > The variable via_pmu_driver references >

Re: [PATCH] powerpc/via-pmu: Fix section mismatch warning

2018-02-14 Thread Mathieu Malaterre
On Tue, Feb 13, 2018 at 7:54 PM, Laurent Vivier wrote: > On 07/02/2018 20:44, Mathieu Malaterre wrote: >> Remove the __init annotation from pmu_init() to avoid the >> following warning. >> >> WARNING: vmlinux.o(.data+0x4739c): Section mismatch in reference from the >> variable via_pmu_driver to t

[PATCH v2] powerpc/via-pmu: Fix section mismatch warning

2018-02-14 Thread Mathieu Malaterre
Make the struct via_pmu_driver const to avoid following warning: WARNING: vmlinux.o(.data+0x4739c): Section mismatch in reference from the variable via_pmu_driver to the function .init.text:pmu_init() The variable via_pmu_driver references the function __init pmu_init() If the reference is valid

Re: [PATCH] powerpc/via-pmu: Fix section mismatch warning

2018-02-13 Thread Laurent Vivier
On 07/02/2018 20:44, Mathieu Malaterre wrote: > Remove the __init annotation from pmu_init() to avoid the > following warning. > > WARNING: vmlinux.o(.data+0x4739c): Section mismatch in reference from the > variable via_pmu_driver to the function .init.text:pmu_init() > The variable via_pmu_drive

[PATCH] powerpc/via-pmu: Fix section mismatch warning

2018-02-07 Thread Mathieu Malaterre
Remove the __init annotation from pmu_init() to avoid the following warning. WARNING: vmlinux.o(.data+0x4739c): Section mismatch in reference from the variable via_pmu_driver to the function .init.text:pmu_init() The variable via_pmu_driver references the function __init pmu_init() If the referen

Re: powerpc/mm: Fix section mismatch warning in early_check_vec5()

2017-08-11 Thread Michael Ellerman
On Tue, 2017-08-08 at 11:44:08 UTC, Michael Ellerman wrote: > early_check_vec5() is called from and calls __init routines, so should > also be __init. > > Signed-off-by: Michael Ellerman Applied to powerpc next. https://git.kernel.org/powerpc/c/7559952e1f6f95091b00352c5ba863 cheers

[PATCH] powerpc/mm: Fix section mismatch warning in early_check_vec5()

2017-08-08 Thread Michael Ellerman
early_check_vec5() is called from and calls __init routines, so should also be __init. Signed-off-by: Michael Ellerman --- arch/powerpc/mm/init_64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/mm/init_64.c b/arch/powerpc/mm/init_64.c index b1c83a6bfd54..588a5

Re: [v2] powerpc/msi: fix section mismatch warning

2015-11-02 Thread Michael Ellerman
On Wed, 2015-21-10 at 11:29:13 UTC, Denis Kirjanov wrote: > Building with CONFIG_DEBUG_SECTION_MISMATCH > gives the following warning: > > WARNING: vmlinux.o(.text+0x41fa8): Section mismatch in reference from > the function .msi_bitmap_alloc() to the function > .init.text:.memblock_virt_alloc_try_

[PATCH v2] powerpc/msi: fix section mismatch warning

2015-10-21 Thread Denis Kirjanov
Building with CONFIG_DEBUG_SECTION_MISMATCH gives the following warning: WARNING: vmlinux.o(.text+0x41fa8): Section mismatch in reference from the function .msi_bitmap_alloc() to the function .init.text:.memblock_virt_alloc_try_nid() The function .msi_bitmap_alloc() references the function __init

Re: [PATCH] powerpc/msi: fix section mismatch warning

2015-10-21 Thread Denis Kirjanov
On 10/21/15, Arnd Bergmann wrote: > On Wednesday 21 October 2015 08:56:44 Denis Kirjanov wrote: >> Building with CONFIG_DEBUG_SECTION_MISMATCH >> gives the following warning: >> >> WARNING: vmlinux.o(.text+0x41fa8): Section mismatch in reference from >> the function .msi_bitmap_alloc() to the func

Re: [PATCH] powerpc/msi: fix section mismatch warning

2015-10-20 Thread Stephen Rothwell
Hi Denis, On Wed, 21 Oct 2015 08:56:44 +0300 Denis Kirjanov wrote: > > diff --git a/arch/powerpc/include/asm/msi_bitmap.h > b/arch/powerpc/include/asm/msi_bitmap.h > index 1ec7125..fbd3424 100644 > --- a/arch/powerpc/include/asm/msi_bitmap.h > +++ b/arch/powerpc/include/asm/msi_bitmap.h > @@ -2

Re: [PATCH] powerpc/msi: fix section mismatch warning

2015-10-20 Thread Arnd Bergmann
On Wednesday 21 October 2015 08:56:44 Denis Kirjanov wrote: > Building with CONFIG_DEBUG_SECTION_MISMATCH > gives the following warning: > > WARNING: vmlinux.o(.text+0x41fa8): Section mismatch in reference from > the function .msi_bitmap_alloc() to the function > .init.text:.memblock_virt_alloc_tr

[PATCH] powerpc/msi: fix section mismatch warning

2015-10-20 Thread Denis Kirjanov
Building with CONFIG_DEBUG_SECTION_MISMATCH gives the following warning: WARNING: vmlinux.o(.text+0x41fa8): Section mismatch in reference from the function .msi_bitmap_alloc() to the function .init.text:.memblock_virt_alloc_try_nid() The function .msi_bitmap_alloc() references the function __init

Re: [PATCH v3 1/3] Revert "clk: ppc-corenet: Fix Section mismatch warning"

2015-01-17 Thread Mike Turquette
Quoting Kevin Hao (2014-12-08 17:34:15) > On Thu, Dec 04, 2014 at 09:51:59PM -0600, Scott Wood wrote: > > This patch is going to conflict with commit a4ae8f3b0f7ac6ab3 "clk: drop > > owner assignment from platform_drivers" in linux-next -- or rather, > > you've based this on that patch, but it's no

RE: [PATCH v3 1/3] Revert "clk: ppc-corenet: Fix Section mismatch warning"

2015-01-14 Thread Yuantian Tang
tig; Tang Yuantian-B29983 > Subject: [PATCH v3 1/3] Revert "clk: ppc-corenet: Fix Section mismatch > warning" > > This reverts commit da788acb28386aa896224e784954bb73c99ff26c. > > That commit tried to fix the section mismatch warning by moving the > ppc_corenet_clk_

Re: [PATCH v3 1/3] Revert "clk: ppc-corenet: Fix Section mismatch warning"

2014-12-08 Thread Kevin Hao
On Thu, Dec 04, 2014 at 09:51:59PM -0600, Scott Wood wrote: > This patch is going to conflict with commit a4ae8f3b0f7ac6ab3 "clk: drop > owner assignment from platform_drivers" in linux-next -- or rather, > you've based this on that patch, but it's not in mpe's next branch, so I > get a merge confl

[PATCH] powerpc32/chrp: fix section mismatch warning

2014-12-08 Thread Christophe Leroy
This patch fixes a section mismatch warning WARNING: vmlinux.o(.text+0x213b6): Section mismatch in reference from the function chrp_init_early() to the variable .init.data:boot_command_line The function chrp_init_early() references the variable __initdata boot_command_line. This is often because

Re: [PATCH v3 1/3] Revert "clk: ppc-corenet: Fix Section mismatch warning"

2014-12-04 Thread Scott Wood
On Wed, 2014-12-03 at 16:53 +0800, Kevin Hao wrote: > This reverts commit da788acb28386aa896224e784954bb73c99ff26c. > > That commit tried to fix the section mismatch warning by moving the > ppc_corenet_clk_driver struct to init section. This is definitely wrong > because the kernel

Re: [PATCH v3 1/3] Revert "clk: ppc-corenet: Fix Section mismatch warning"

2014-12-04 Thread Scott Wood
On Thu, 2014-12-04 at 14:06 +0800, Kevin Hao wrote: > On Wed, Dec 03, 2014 at 10:46:24PM -0600, Scott Wood wrote: > > Since only this first patch is a critical bugfix, and there's no > > arch/powerpc content in that patch, I think it should go via Mike's tree > > if it's to go in for 3.18 (if it's

Re: [PATCH v3 1/3] Revert "clk: ppc-corenet: Fix Section mismatch warning"

2014-12-03 Thread Kevin Hao
On Wed, Dec 03, 2014 at 10:46:24PM -0600, Scott Wood wrote: > Since only this first patch is a critical bugfix, and there's no > arch/powerpc content in that patch, I think it should go via Mike's tree > if it's to go in for 3.18 (if it's not already too late). Or, to keep > things simple given th

Re: [PATCH v3 1/3] Revert "clk: ppc-corenet: Fix Section mismatch warning"

2014-12-03 Thread Scott Wood
On Thu, 2014-12-04 at 12:38 +0800, Kevin Hao wrote: > On Wed, Dec 03, 2014 at 10:04:51PM -0600, Scott Wood wrote: > > On Wed, 2014-12-03 at 16:53 +0800, Kevin Hao wrote: > > > This reverts commit da788acb28386aa896224e784954bb73c99ff26c. > > > > > > That comm

Re: [PATCH v3 1/3] Revert "clk: ppc-corenet: Fix Section mismatch warning"

2014-12-03 Thread Kevin Hao
On Wed, Dec 03, 2014 at 10:04:51PM -0600, Scott Wood wrote: > On Wed, 2014-12-03 at 16:53 +0800, Kevin Hao wrote: > > This reverts commit da788acb28386aa896224e784954bb73c99ff26c. > > > > That commit tried to fix the section mismatch warning by moving the > > ppc_corene

Re: [PATCH v3 1/3] Revert "clk: ppc-corenet: Fix Section mismatch warning"

2014-12-03 Thread Scott Wood
On Wed, 2014-12-03 at 16:53 +0800, Kevin Hao wrote: > This reverts commit da788acb28386aa896224e784954bb73c99ff26c. > > That commit tried to fix the section mismatch warning by moving the > ppc_corenet_clk_driver struct to init section. This is definitely wrong > because the kernel

[PATCH v3 3/3] clk: ppc-corenet: fix section mismatch warning

2014-12-03 Thread Kevin Hao
In order to fix the following section mismatch warning: WARNING: drivers/clk/built-in.o(.data+0xe4): Section mismatch in reference from the variable ppc_corenet_clk_driver to the function .init.text:ppc_corenet_clk_probe() The variable ppc_corenet_clk_driver references the function __init

[PATCH v3 1/3] Revert "clk: ppc-corenet: Fix Section mismatch warning"

2014-12-03 Thread Kevin Hao
This reverts commit da788acb28386aa896224e784954bb73c99ff26c. That commit tried to fix the section mismatch warning by moving the ppc_corenet_clk_driver struct to init section. This is definitely wrong because the kernel would free the memories occupied by this struct after boot while this driver

[PATCH 1/1 linux-next] powerpc: fix section mismatch warning

2014-10-29 Thread Fabian Frederick
Adding __init to MMU_setup() which uses __initdata boot_command_line. Warning appeared since commit 3e47d1474c2b ("powerpc: Remove powerpc specific cmd_line") Signed-off-by: Fabian Frederick --- arch/powerpc/mm/init_32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/p

[PATCH v2 3/3] clk: ppc-corenet: fix section mismatch warning

2014-10-18 Thread Kevin Hao
In order to fix the following section mismatch warning: WARNING: drivers/clk/built-in.o(.data+0xe4): Section mismatch in reference from the variable ppc_corenet_clk_driver to the function .init.text:ppc_corenet_clk_probe() The variable ppc_corenet_clk_driver references the function __init

[PATCH v2 1/3] Revert "clk: ppc-corenet: Fix Section mismatch warning"

2014-10-18 Thread Kevin Hao
This reverts commit da788acb28386aa896224e784954bb73c99ff26c. That commit tried to fix the section mismatch warning by moving the ppc_corenet_clk_driver struct to init section. This is definitely wrong because the kernel would free the memories occupied by this struct after boot while this driver

Re: [PATCH] powerpc: fix section mismatch warning in free_lppacas

2013-09-30 Thread Michael Ellerman
On Sun, Sep 29, 2013 at 02:41:18PM +0200, Vladimir Murzin wrote: > While cross-building for PPC64 I've got bunch of > > WARNING: arch/powerpc/kernel/built-in.o(.text.unlikely+0x2d2): Section > mismatch in reference from the function .free_lppacas() to the variable > .init.data:lppaca_size The func

[PATCH] powerpc: fix section mismatch warning in free_lppacas

2013-09-29 Thread Vladimir Murzin
While cross-building for PPC64 I've got bunch of WARNING: arch/powerpc/kernel/built-in.o(.text.unlikely+0x2d2): Section mismatch in reference from the function .free_lppacas() to the variable .init.data:lppaca_size The function .free_lppacas() references the variable __initdata lppaca_size. This i

[PATCH 3/3] fbdev/ps3fb: fix section mismatch warning for ps3fb_probe

2013-09-10 Thread Vladimir Murzin
While cross-building for PPC64 I've got WARNING: drivers/video/built-in.o(.text+0x9f9ca): Section mismatch in reference from the function .ps3fb_probe() to th e variable .init.data:ps3fb_fix The function .ps3fb_probe() references the variable __initdata ps3fb_fix. This is often because .ps3fb_pro

[PATCH 2/3] powerpc: fix section mismatch warning for prom_rtas_call

2013-09-10 Thread Vladimir Murzin
While cross-building for PPC64 I've got WARNING: vmlinux.o(.text.unlikely+0x1ba): Section mismatch in reference from the function .prom_rtas_call() to the variable .init.data:dt_string_start The function .prom_rtas_call() references the variable __initdata dt_string_start. This is often because .

Re: [PATCH 3/3] fbdev/ps3fb: fix section mismatch warning for ps3fb_probe

2013-09-10 Thread Vladimir Murzin
On Tue, Sep 10, 2013 at 06:56:33PM +0200, Geert Uytterhoeven wrote: > On Tue, Sep 10, 2013 at 6:46 PM, Vladimir Murzin wrote: > > diff --git a/drivers/video/ps3fb.c b/drivers/video/ps3fb.c > > index dbfe2c1..b269abd 100644 > > --- a/drivers/video/ps3fb.c > > +++ b/drivers/video/ps3fb.c > > @@ -952

Re: [PATCH 3/3] fbdev/ps3fb: fix section mismatch warning for ps3fb_probe

2013-09-10 Thread Geert Uytterhoeven
On Tue, Sep 10, 2013 at 6:46 PM, Vladimir Murzin wrote: > diff --git a/drivers/video/ps3fb.c b/drivers/video/ps3fb.c > index dbfe2c1..b269abd 100644 > --- a/drivers/video/ps3fb.c > +++ b/drivers/video/ps3fb.c > @@ -952,7 +952,7 @@ static struct fb_ops ps3fb_ops = { > .fb_compat_ioctl = ps3

Re: [PATCH] powerpc: fix register_power_pmu() section mismatch warning

2010-05-12 Thread Paul Mackerras
On Wed, May 12, 2010 at 08:04:46PM +0200, Albert Herranz wrote: > Add missing __cpuinit annotations to fix a bunch of warnings like the one > shown below when building a kernel for the PowerPC architecture with > CONFIG_DEBUG_SECTION_MISMATCH=y. > > WARNING: arch/powerpc/kernel/built-in.o(.text+0

[PATCH] powerpc: fix register_power_pmu() section mismatch warning

2010-05-12 Thread Albert Herranz
Add missing __cpuinit annotations to fix a bunch of warnings like the one shown below when building a kernel for the PowerPC architecture with CONFIG_DEBUG_SECTION_MISMATCH=y. WARNING: arch/powerpc/kernel/built-in.o(.text+0x11c72): Section mismatch in reference from the function register_power_pm

Re: [PATCH] kernel/cpu.c: Section mismatch warning fix. (fwd)

2008-11-04 Thread Geert Uytterhoeven
ject: Re: [PATCH] kernel/cpu.c: Section mismatch warning fix. On Tue, Nov 04, 2008 at 11:22:52AM +0100, Ingo Molnar wrote: > > * Sam Ravnborg <[EMAIL PROTECTED]> wrote: > > > On Tue, Nov 04, 2008 at 10:48:31AM +0100, Ingo Molnar wrote: > > > > > > * Andrew

[PATCH v2 3/3] Eliminate section mismatch warning in cpm2_reset().

2007-12-12 Thread Scott Wood
Signed-off-by: Scott Wood <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/cpm2_common.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/sysdev/cpm2_common.c b/arch/powerpc/sysdev/cpm2_common.c index 859362f..c1d8240 100644 --- a/arch/powerpc/sysdev/cpm2_common.

[PATCH 3/3] Eliminate section mismatch warning in cpm2_reset().

2007-12-11 Thread Scott Wood
Signed-off-by: Scott Wood <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/cpm2_common.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/arch/powerpc/sysdev/cpm2_common.c b/arch/powerpc/sysdev/cpm2_common.c index 859362f..c1d8240 100644 --- a/arch/powerpc/sysdev/cpm2_common.

Re: Section mismatch warning

2007-09-14 Thread Josh Boyer
On Fri, 14 Sep 2007 05:01:14 -0700 (PDT) sivaji <[EMAIL PROTECTED]> wrote: > > Hi, > When compiling the kernel 2.6.23-rc4 for our custom board based on > MPC8641, I got following warning messages > > WARNING: vmlinux.o(.text+0x169f6): Section mismatch: reference to > .init.data:boot_com

Section mismatch warning

2007-09-14 Thread sivaji
7;pmac_restart') Give some idea to fix these warnings. by Sivaji -- View this message in context: http://www.nabble.com/Section-mismatch-warning-tf4442060.html#a12673863 Sent from the linuxppc-dev mailing list archive at Nabble.com. ___

Re: Section mismatch warning

2007-08-22 Thread sivaji
tp://patchwork.ozlabs.org/linuxppc/patch?id=13066 - k ___ Linuxppc-dev mailing list Linuxppc-dev@ozlabs.org https://ozlabs.org/mailman/listinfo/linuxppc-dev -- View this message in context: http://www.nabble.com/Section-mismatch-warning-tf4315101.html#a

Re: Section mismatch warning

2007-08-22 Thread Kumar Gala
On Aug 22, 2007, at 9:30 PM, sivaji wrote: > > Hi, > When compiling the 2.6.23-rc3 kernel, i got following warning > messages. > > WARNING: vmlinux.o(.text+0x18): Section mismatch: reference to > .init.text:early_init (between '__start' and '__after_mmu_off') > WARNING: vmlinux.o(.text+0

Section mismatch warning

2007-08-22 Thread sivaji
nit.text:start_kernel (between 'start_here' and 'set_context') WARNING: vmlinux.o(.text+0x386a): Section mismatch: reference to .init.text:start_kernel (between 'start_here' and 'set_context') Processor: 8641D Give some idea how to overcome this w

[PATCH] [POWERPC] iSeries: fix section mismatch warning in lpevents

2007-07-24 Thread Stephen Rothwell
WARNING: vmlinux.o(.text+0x4f568): Section mismatch: reference to .init.text:.__alloc_bootmem (between '.setup_hvlpevent_queue' and '.process_hvlpevents') setup_hvlpevent_queue is only called from __init code so make it __init as well. Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]> --- ar

[PATCH] [POWERPC] quiet section mismatch warning on pcibios_setup

2007-07-21 Thread Stephen Rothwell
WARNING: vmlinux.o(.text+0x1cefcc): Section mismatch: reference to .init.text:.pcibios_setup (between '.pci_setup' and '.pci_init') pci_setup() is marked __devinit and calls pcibios_setup. Signed-off-by: Stephen Rothwell <[EMAIL PROTECTED]> --- arch/powerpc/kernel/pci-common.c |2 +- 1 file