Re: sh kexec build error
From: Paul Mundt
Date: Mon Jul 28 2008 - 12:18:02 EST
On Mon, Jul 28, 2008 at 07:10:04PM +0300, Adrian Bunk wrote:
> On Mon, Jul 28, 2008 at 10:14:44PM +0900, Paul Mundt wrote:
> > On Mon, Jul 28, 2008 at 04:06:13PM +0300, Adrian Bunk wrote:
> > > Commit 3ab83521378268044a448113c6aa9a9e245f4d2f (kexec jump)
> > > causes the following build error on sh:
> > >
> > > <-- snip -->
> > >
> > > ...
> > > CC kernel/kexec.o
> > > {standard input}: Assembler messages:
> > > {standard input}:1518: Error: offset to unaligned destination
> > > make[2]: *** [kernel/kexec.o] Error 1
> > >
> > > <-- snip -->
> > >
> > > If I understand the assembler correctly it fails at
> > > include/asm-sh/kexec.h:59
> > >
> > Indeed. This should fix it:
>
>
> I can confirm that your patch fixes the compilation.
>
Thanks for testing, I'll roll it in with my next batch of updates.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/