Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2846941yba; Mon, 8 Apr 2019 06:07:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqyFxZalVUjbU+5EyIf5ukLtbEzJW+i+DLyqAzFrjzDTzn8yYN4iwjzrNwjlhvQFBFgfnUTX X-Received: by 2002:a65:6241:: with SMTP id q1mr636854pgv.244.1554728840491; Mon, 08 Apr 2019 06:07:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554728840; cv=none; d=google.com; s=arc-20160816; b=Hv24ZS201SLPUAR4xXM6kueV+j83/wbh6NxujnCGfg5IfVt47pEfm883tHMSSVnJbu Ij4yeR6J4IgH93XKX+owU9uBhGlvJvdGcmClJ7HaZyNllr+YxxZeAsNwhPwvPJ7yqnB8 HJGx+gx+GCbm3RXD02DxCG5+iv97KdP2k/z1mSZuY998690rf+b18K1Dr2UIY3prnWC0 aSQ4giZe4ya74CTakhSrPMP/oP8oY2M9nV1aZgSRk2ITWD5oPfz0waJgMDce1pp1m4fz JkE3Iif9shgOyPyYHrjQ9fV2w9LEfuAn6Jr4vN3jiaF4tgnXqmqKx2iA1c4Vlq81VpTT WW5w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=pXBu8tXCN8zgP9yahHqE83TAL3mHRDHV6C60KU18FQE=; b=Cb5go6m/gQWWJ6lXW7jz56OuXnXxfTEWiSHN16QoXes8OedVXu5tWW5U5mJaOEULLe vwPAWyWCbNcnX+oQW6E+gZRXvuaLRFOGJNqs0hkbs+w/ewjZj0RoQBAd5g31VMp0Q2g7 0GNtB91trGnEX/5oH96EAsCcZf6ozuWZ5LrkpIwuEjs7pzP3SrGO7rlXriw5g8Ob0xzO W+/aQjCWttod2KDXR/5AIdbF9Vo4Ez5DyjNyyNCTQYGugwcC/Z3hn9kypTcbepQ729xZ 6DO2CIs35y+9BzXyGk71d6ihNcW58sGXG2afR9ffVzV9Dcrd59TwOfTzDGVVZtP3DZEs dr7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b="CK5L/ufc"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s9si23363961plr.17.2019.04.08.06.07.02; Mon, 08 Apr 2019 06:07:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@synopsys.com header.s=mail header.b="CK5L/ufc"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=synopsys.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726627AbfDHNEo (ORCPT + 99 others); Mon, 8 Apr 2019 09:04:44 -0400 Received: from us01smtprelay-2.synopsys.com ([198.182.47.9]:53350 "EHLO smtprelay.synopsys.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726349AbfDHNEo (ORCPT ); Mon, 8 Apr 2019 09:04:44 -0400 Received: from mailhost.synopsys.com (dc8-mailhost2.synopsys.com [10.13.135.210]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtprelay.synopsys.com (Postfix) with ESMTPS id 4BF9C24E23AD; Mon, 8 Apr 2019 06:04:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=synopsys.com; s=mail; t=1554728684; bh=y5nQEi4zDjXR0zK6FQbL3G62aNT4nNlPliULmMOnVoE=; h=From:To:Cc:Subject:Date:From; b=CK5L/ufculwZ8XcL8gtIPFVGAliiueistdHbLiZ4T3PUiKY15TUhNgcHs+azpxANj YgrgHeb4vAQMXbT2Gpc6JS7Gt6K/dIvCKhtU/jDQAYcQzoQVyM9BnlCLuvGTcOEKtK 4srAhca6Dy+LX6l5s2A3K5uaozYMP4GuLeeG649B4zNPUS0mK4XfSeR/lsp5SSIINk DSb3HDtzOGPQiSheEqH0zZ4iCKmWNNdzFv+L35ruLlY25j7zkMwQEDtPoSAxaj01ow zq2kqPIlQF33YXFEIvGTfzNiurMIfzvCEELzhliKu/FoehDby+2F5pz6oDheTz0n+9 WfBxkcVUY/1uA== Received: from paltsev-e7480.internal.synopsys.com (paltsev-e7480.internal.synopsys.com [10.121.8.106]) by mailhost.synopsys.com (Postfix) with ESMTP id B5D34A0070; Mon, 8 Apr 2019 13:04:42 +0000 (UTC) From: Eugeniy Paltsev To: linux-snps-arc@lists.infradead.org, Vineet Gupta Cc: linux-kernel@vger.kernel.org, Alexey Brodkin , Eugeniy Paltsev Subject: [PATCH] ARC: memset: fix build with L1_CACHE_SHIFT != 6 Date: Mon, 8 Apr 2019 16:04:38 +0300 Message-Id: <20190408130438.11466-1-Eugeniy.Paltsev@synopsys.com> X-Mailer: git-send-email 2.14.5 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org In case of 'L1_CACHE_SHIFT != 6' we define dummy assembly macroses PREALLOC_INSTR and PREFETCHW_INSTR without arguments. However we pass arguments to them in code which cause build errors. Fix that. Signed-off-by: Eugeniy Paltsev --- arch/arc/lib/memset-archs.S | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arc/lib/memset-archs.S b/arch/arc/lib/memset-archs.S index f230bb7092fd..b3373f5c88e0 100644 --- a/arch/arc/lib/memset-archs.S +++ b/arch/arc/lib/memset-archs.S @@ -30,10 +30,10 @@ #else -.macro PREALLOC_INSTR +.macro PREALLOC_INSTR reg, off .endm -.macro PREFETCHW_INSTR +.macro PREFETCHW_INSTR reg, off .endm #endif -- 2.14.5