[PATCH] powerpc: Fix build failure

2014-08-21 Thread Pranith Kumar
Fix the following build failure drivers/built-in.o: In function `nhi_init': nhi.c:(.init.text+0x63390): undefined reference to `ehci_init_driver' by adding a dependency on USB_EHCI_HCD which supplies the ehci_init_driver(). Also we need to depend on USB_OHCI_HCD similarly Signed-off-by: Pranith

Re: [PATCH] powerpc: Fix build failure

2014-09-15 Thread Alistair Popple
Thanks for fixing these! Acked-by: Alistair Popple On Thu, 21 Aug 2014 09:04:31 Pranith Kumar wrote: > Fix the following build failure > > drivers/built-in.o: In function `nhi_init': > nhi.c:(.init.text+0x63390): undefined reference to `ehci_init_driver' > > by adding a dependency on USB_EHCI_

[PATCH] powerpc: Fix build failure for PPC_32

2014-08-18 Thread Pranith Kumar
Fix ppc 32 build failure as reported here: http://kisskb.ellerman.id.au/kisskb/buildresult/11663513/ The error is that pci_32.o was not being built for PPC_32. Fix error by adding it in the Makefile. Tested using the ppc cross compiler. Signed-off-by: Pranith Kumar Reported-by: Geert Uytterhoev

[PATCH] powerpc: Fix build failure when CONFIG_USB=y

2014-08-21 Thread Pranith Kumar
We are enabling USB unconditionally which results in following build failure drivers/built-in.o: In function `tb_drom_read': (.text+0x1b62b70): undefined reference to `usb_speed_string' make: *** [vmlinux] Error Enable USB only if USB_SUPPORT is set to avoid such failures Signed-off-by: Pranit

Re: [PATCH] powerpc: Fix build failure for PPC_32

2014-08-18 Thread Geert Uytterhoeven
Hi Pranith, On Mon, Aug 18, 2014 at 9:01 PM, Pranith Kumar wrote: > Fix ppc 32 build failure as reported here: > > http://kisskb.ellerman.id.au/kisskb/buildresult/11663513/ | arch/powerpc/include/asm/floppy.h:142:20: error: 'isa_bridge_pcidev' undeclared (first use in this function) | make[3]: *

Re: [PATCH] powerpc: Fix build failure for PPC_32

2014-08-18 Thread Geert Uytterhoeven
Hi Pranith, On Mon, Aug 18, 2014 at 10:52 PM, Pranith Kumar wrote: > On Mon, Aug 18, 2014 at 3:28 PM, Geert Uytterhoeven > wrote: >> On Mon, Aug 18, 2014 at 9:01 PM, Pranith Kumar >> wrote: >> > Fix ppc 32 build failure as reported here: >> > >> > http://kisskb.ellerman.id.au/kisskb/buildresult

Re: [PATCH] powerpc: Fix build failure for PPC_32

2014-08-18 Thread Pranith Kumar
On Mon, Aug 18, 2014 at 3:28 PM, Geert Uytterhoeven wrote: > > Hi Pranith, > > On Mon, Aug 18, 2014 at 9:01 PM, Pranith Kumar wrote: > > Fix ppc 32 build failure as reported here: > > > > http://kisskb.ellerman.id.au/kisskb/buildresult/11663513/ > > | arch/powerpc/include/asm/floppy.h:142:20: err

Re: [PATCH] powerpc: Fix build failure for PPC_32

2014-08-18 Thread Pranith Kumar
On Mon, Aug 18, 2014 at 4:57 PM, Geert Uytterhoeven wrote: > > Note that PowerPC supports multi-platform kernels. > A kernel with PPC_PSERIES and something else with PCI may still want to > have floppy support. OK, I tested with your change and it works. I needed to make one more change for it co

[PATCH] powerpc: Fix build failure when MEMORY_HOTPLUG=y

2014-08-19 Thread Pranith Kumar
ARCH_ENABLE_MEMORY_HOTPLUG is enabled by default for powerpc. This causes build failures when SPARSEMEM=n as memory hotplug needs definition which are defined only when SPARSEMEM=y. The error is as follows: arch/powerpc/platforms/pseries/hotplug-memory.c:27:31: error: 'SECTION_SIZE_BITS' undeclar

Re: [PATCH] powerpc: Fix build failure when MEMORY_HOTPLUG=y

2014-08-20 Thread Pranith Kumar
On Wed, Aug 20, 2014 at 4:00 AM, Geert Uytterhoeven wrote: >> 1.9.1 > > In light of my investigation for your spufs patch, I guess this is a non-SMP > PSERIES config? So what happens is SELECT_MEMORY_MODEL choses FLATMEM_MANUAL because of which SPARSEMEM is not enabled despite having ARCH_SPARSE

Re: [PATCH] powerpc: Fix build failure when CONFIG_USB=y

2014-09-15 Thread Alistair Popple
Thanks for fixing these! Acked-by: Alistair Popple On Thu, 21 Aug 2014 09:16:04 Pranith Kumar wrote: > We are enabling USB unconditionally which results in following build failure > > drivers/built-in.o: In function `tb_drom_read': > (.text+0x1b62b70): undefined reference to `usb_speed_string'

Re: [PATCH] powerpc: Fix build failure when MEMORY_HOTPLUG=y

2014-08-20 Thread Geert Uytterhoeven
On Tue, Aug 19, 2014 at 11:01 PM, Pranith Kumar wrote: > ARCH_ENABLE_MEMORY_HOTPLUG is enabled by default for powerpc. This causes > build > failures when SPARSEMEM=n as memory hotplug needs definition which are defined > only when SPARSEMEM=y. The error is as follows: > > arch/powerpc/platforms/