From: Tony Breeds Date: Wed, 12 Mar 2014 08:17:07 +0000 (+1100) Subject: powerpc/le: Show the endianess of the LPAR under PowerVM. X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=983d8a6dda1d477f3ffa23a04cc2fa4d66fd93d1;p=openwrt%2Fstaging%2Fblogic.git powerpc/le: Show the endianess of the LPAR under PowerVM. Signed-off-by: Tony Breeds Signed-off-by: Benjamin Herrenschmidt --- diff --git a/arch/powerpc/platforms/pseries/setup.c b/arch/powerpc/platforms/pseries/setup.c index 2db8cc691bf4..215c3c269617 100644 --- a/arch/powerpc/platforms/pseries/setup.c +++ b/arch/powerpc/platforms/pseries/setup.c @@ -510,7 +510,11 @@ static void __init pSeries_setup_arch(void) static int __init pSeries_init_panel(void) { /* Manually leave the kernel version on the panel. */ +#ifdef __BIG_ENDIAN__ ppc_md.progress("Linux ppc64\n", 0); +#else + ppc_md.progress("Linux ppc64le\n", 0); +#endif ppc_md.progress(init_utsname()->version, 0); return 0;