From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vineet Gupta Subject: Re: [PATCH] arch: use ASM_NL instead of ';' for assembler new line character in the macro Date: Mon, 28 Oct 2013 19:15:54 +0530 Message-ID: <526E6A92.6090301@synopsys.com> References: <526E3CE2.2070405@asianux.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from mail-pd0-f169.google.com ([209.85.192.169]:60393 "EHLO mail-pd0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756072Ab3J1NqA (ORCPT ); Mon, 28 Oct 2013 09:46:00 -0400 In-Reply-To: <526E3CE2.2070405@asianux.com> Sender: linux-arch-owner@vger.kernel.org List-ID: To: Chen Gang , James Hogan Cc: Al Viro , Arnd Bergmann , "linux-kernel@vger.kernel.org" , Linux-Arch On 10/28/2013 04:00 PM, Chen Gang wrote: > For some toolchains, they use another character as newline in a macro > (e.g. arc uses '`'), so for generic assembly code, need use ASM_NL (a > macro) instead of ';' for it. > > Since "linux/export.h" are mainly used for exporting work, then our fix > more likely belongs to "linux/linkage.h", and we need add the related > checking in "linkage.h". > > Also need notice 80 columns wrap, and '\t' for each line. > > > Signed-off-by: Chen Gang > --- > arch/arc/include/asm/linkage.h | 2 + > include/asm-generic/vmlinux.lds.h | 350 +++++++++++++++++++------------------ > include/linux/linkage.h | 19 + Like Max said, please drop the linker script bits - they are OK - otherwise ARC kernel won't have been building at all. And you also need to fix kernel/modsign_certificate.S as part of same patchset as that is where the problem started in first place. -Vineet