* [PATCH] powerpc/le: Show the endianess of the LPAR under PowerVM.
@ 2014-03-12 8:17 Tony Breeds
0 siblings, 0 replies; only message in thread
From: Tony Breeds @ 2014-03-12 8:17 UTC (permalink / raw)
To: Benjamin Herrenschmidt, LinuxPPC-dev
[-- Attachment #1: Type: text/plain, Size: 751 bytes --]
Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
---
arch/powerpc/platforms/pseries/setup.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/arch/powerpc/platforms/pseries/setup.c b/arch/powerpc/platforms/pseries/setup.c
index 972df0f..5a32caa 100644
--- a/arch/powerpc/platforms/pseries/setup.c
+++ b/arch/powerpc/platforms/pseries/setup.c
@@ -516,7 +516,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;
--
1.8.5.3
Yours Tony
[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2014-03-12 8:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-12 8:17 [PATCH] powerpc/le: Show the endianess of the LPAR under PowerVM Tony Breeds
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox