Re: [next:akpm 202/376] arch/sh/kernel/ioport.c:14:15: error: conflicting type qualifiers for 'sh_io_port_base'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 21 Sep 2012 07:51:53 -0700
Andi Kleen <ak@xxxxxxxxxxxxxxx> wrote:

> On Fri, Sep 21, 2012 at 06:56:35PM +0800, Fengguang Wu wrote:
> > Hi Andi,
> > 
> > FYI, kernel build failed on
> > 
> > tree:   git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git akpm
> > head:   69921c36f9e0e4e7952fa2583bf2d33713835eaf
> > commit: 11f7c1c694b94586a232a50eebdd623255d60d72 [202/376] sections: fix section conflicts in arch/sh
> > config: sh-titan_defconfig
> 
> Does this patch work?
> 
> diff --git a/arch/sh/include/asm/io.h b/arch/sh/include/asm/io.h
> index 0cf60a6..73a23f4 100644
> --- a/arch/sh/include/asm/io.h
> +++ b/arch/sh/include/asm/io.h
> @@ -134,7 +134,7 @@ __BUILD_MEMORY_STRING(__raw_, q, u64)
>   * load/store instructions. sh_io_port_base is the virtual address to
>   * which all ports are being mapped.
>   */
> -extern const unsigned long sh_io_port_base;
> +extern unsigned long sh_io_port_base;
>  
>  static inline void __set_io_port_base(unsigned long pbase)
>  {

yup.
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux