On 10/30/2013 2:43 PM, Geert Uytterhoeven wrote:
On Wed, Oct 30, 2013 at 8:35 PM, Tom Musta <tommu...@gmail.com> wrote:
On 10/30/2013 12:43 PM, Andreas Schwab wrote:

Tom Musta <tommu...@gmail.com> writes:

+#ifdef __LITTLE_ENDIAN__
+       if (!regs->msr & MSR_LE)


That won't work.

Andreas.


Please elaborate.

You want to test for "!(regs & MSR_LE)".

Gr{oetje,eeting}s,

                         Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- ge...@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                 -- Linus Torvalds


Thanks Adnreas and Geert.  I will fix and resubmit.
_______________________________________________
Linuxppc-dev mailing list
Linuxppc-dev@lists.ozlabs.org
https://lists.ozlabs.org/listinfo/linuxppc-dev

Reply via email to