diff mbox


Message ID HE1PR02MB1387F45D8AB1A8CEDFD64A81D6CB0@HE1PR02MB1387.eurprd02.prod.outlook.com
State New
Headers show

Commit Message

Noam Camus Jan. 13, 2016, 1:58 a.m. UTC
Hi Vineet,

1) I will fix my DT but the problem will remain, this panic is bad if we cannot see it on console.
If panic cannot be deferred, what about moving this check to later point in boot time, if this may not make sense consider to restore use of BUG()

From 628cdfb5182562461cebc5d6d66d45f708ba1881 Mon Sep 17 00:00:00 2001
From: Noam Camus <noamc@ezchip.com>
Date: Wed, 6 Jan 2016 13:59:08 +0200
Subject: [PATCH 1/1] ldk: linux: fix UAPI byte order

The decision was upon CONFIG_CPU_BIG_ENDIAN which is not
defined by user.

Use __BIG_ENDIAN__from CPP which is defined from toolchain itself.
Signed-off-by: Noam Camus <noamc@ezchip.com>
 .../arch/arc/include/uapi/asm/byteorder.h          |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
diff mbox


diff --git a/arch/arc/include/uapi/asm/byteorder.h b/arch/arc/include/uapi/asm/byteorder.h
index 9da71d4..ea5ca44 100644
--- a/arch/arc/include/uapi/asm/byteorder.h
+++ b/arch/arc/include/uapi/asm/byteorder.h
@@ -9,7 +9,7 @@ 
+#ifdef __BIG_ENDIAN__
 #include <linux/byteorder/big_endian.h>
 #include <linux/byteorder/little_endian.h>