Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752415AbcJGVj2 (ORCPT ); Fri, 7 Oct 2016 17:39:28 -0400 Received: from smtprelay2.synopsys.com ([198.182.60.111]:51966 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750696AbcJGVjT (ORCPT ); Fri, 7 Oct 2016 17:39:19 -0400 Subject: Re: [PATCH] ARCv2: intc: untangle SMP, MCIP and IDU To: Alexey Brodkin References: <1475699962-11711-1-git-send-email-vgupta@synopsys.com> <1475745033.3301.5.camel@synopsys.com> <62f431fd-8c66-143b-2129-a1b996a0a98c@synopsys.com> <1475861484.2874.44.camel@synopsys.com> CC: "linux-kernel@vger.kernel.org" , "Yuriy.Kolerov@synopsys.com" , "Vladislav.Zakharov@synopsys.com" , "linux-snps-arc@lists.infradead.org" Newsgroups: gmane.linux.kernel,gmane.linux.kernel.arc From: Vineet Gupta Message-ID: <1fc6dd97-3d03-c2e1-079b-efbfaee63db3@synopsys.com> Date: Fri, 7 Oct 2016 14:39:10 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.3.0 MIME-Version: 1.0 In-Reply-To: <1475861484.2874.44.camel@synopsys.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Originating-IP: [10.10.161.39] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 502 Lines: 12 On 10/07/2016 10:31 AM, Alexey Brodkin wrote: >> They are ugly I agree - but not portable - really ? The whole point is to make >> > this work on BE w/o changing the src code - this details remains hidden in an >> > obscure header. > That's what I learned the hard way. > At least I was beaten a couple of times yet in both Linux kernel community and > U-Boot > one. Beaten for writing code like above - please point me to those discussions. I'd love to be educated in art of writing portable code !