On Thu, 2014-11-12 at 16:44:54 UTC, Hari Bathini wrote: > In LE kernel, we currently have a hack for kexec that resets the exception > endian > before starting a new kernel as the kernel that is loaded could be a big > endian > or a little endian kernel. In kdump case, resetting exception endian fails > when > one or more cpus is disabled. But in case of kdump, we can conveniently ignore > resetting endianess as crashkernel is always of same endianess as primary > kernel.
No, it's not guaranteed to be the same endianess. That tends to be what people do in practice, but it's not an assumption you can hard code. cheers _______________________________________________ Linuxppc-dev mailing list [email protected] https://lists.ozlabs.org/listinfo/linuxppc-dev
