[PATCH] [RESEND] mtd: only use __xipram annotation when XIP_KERNEL is set

Boris Brezillon boris.brezillon at free-electrons.com
Fri Aug 4 03:58:12 PDT 2017


On Fri, 4 Aug 2017 11:00:05 +0200
Arnd Bergmann <arnd at arndb.de> wrote:

> On Fri, Aug 4, 2017 at 9:35 AM, Boris Brezillon
> <boris.brezillon at free-electrons.com> wrote:
> > On Fri, 21 Jul 2017 22:26:25 +0200
> > Arnd Bergmann <arnd at arndb.de> wrote:  
> 
> >> Note that MTD_XIP has been broken on ARM since around 2011 or 2012. I
> >> have sent another patch[2] to fix compilation, which I plan to merge
> >> through arm-soc unless there are objections. The obvious alternative
> >> to that would be to completely rip out the MTD_XIP support from the
> >> kernel, since obviously nobody has been using it in a long while.
> >>
> >> Link: [1] https://patchwork.kernel.org/patch/8109771/
> >> Link: [2] https://patchwork.kernel.org/patch/9855225/
> >> Signed-off-by: Arnd Bergmann <arnd at arndb.de>
> >> ---
> >>  include/asm-generic/vmlinux.lds.h |  1 +
> >>  include/linux/mtd/xip.h           | 10 ++++++----  
> >
> > For the MTD part,
> >
> > Acked-by: Boris Brezillon <boris.brezillon at free-electrons.com>  
> 
> Thanks. If you don't mind, could you just apply the patch to the mtd tree?

Sure. I'll let Brian apply it.



More information about the linux-mtd mailing list