Hi Arnd, > Something like the (untested) patch below, similar to how we > already handle the word size and how some other architectures > handle setting __BIG_ENDIAN__.
I tested this by reverting Michael's patch and applying yours. Not only does it successfully fix the errors that patch fixes, it manages to clean up the following four errors as well: +/scratch/dja/linux/arch/powerpc/lib/sstep.c:371:32: error: cast from unknown type +/scratch/dja/linux/arch/powerpc/lib/sstep.c:371:59: error: using member 'word' in incomplete struct <unnamed> +/scratch/dja/linux/arch/powerpc/lib/sstep.c:411:32: error: cast from unknown type +/scratch/dja/linux/arch/powerpc/lib/sstep.c:411:59: error: using member 'word' in incomplete struct <unnamed> So: Tested-by: Daniel Axtens <d...@axtens.net> (I think the patch also needs your sign-off.) Regards, Daniel _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev