From patchwork Mon Apr 8 13:04:38 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eugeniy Paltsev X-Patchwork-Id: 1080966 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=none (mailfrom) smtp.mailfrom=lists.infradead.org (client-ip=2607:7c80:54:e::133; helo=bombadil.infradead.org; envelope-from=linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=synopsys.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="HKR0pRKO"; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=synopsys.com header.i=@synopsys.com header.b="CK5L/ufc"; dkim-atps=neutral Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:e::133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 44d9cj2XXkz9sQr for ; Mon, 8 Apr 2019 23:04:53 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=P3UcKq98g+b7iRME56cQAImTpVtyKDGNRVk7UxwdHLo=; b=HKR 0pRKOklWc4kRkJlQgvTxk9E2sq+QsYv/gz+5PNd7t0Kv18ioOK3b8unJTkFhoo958tbYrC0urLTJp 3L+ubQxuTbYOCaVue2WWVU18aqb3Oe78YI52XY21Yoi9k1KwDHqUVHS6o6Crvu0cSbZowzfrt2GkG /nuX/xPbooHRY7WKzu0I4uVJEnBi7pPcKU152ohLCq1oozsvhMlQ16rRz9CZ2P3I2yAciExg6jfho YVUgzYrfyr/Ty9sJMOb9kdMhiKeIkH1gjFVNBbPeWgVWRJr+3U0mFxHayNplxp3AsChkR9MDY1vh3 MFgnBTifaukvOTt2g5ngsVhmv+WE+Ew==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1hDTxD-0001nf-G5; Mon, 08 Apr 2019 13:04:51 +0000 Received: from us01smtprelay-2.synopsys.com ([198.182.47.9] helo=smtprelay.synopsys.com) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1hDTxA-0001mu-KY for linux-snps-arc@lists.infradead.org; Mon, 08 Apr 2019 13:04:50 +0000 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20190408_060448_887673_E5B90FCC X-CRM114-Status: GOOD ( 10.01 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain X-BeenThere: linux-snps-arc@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Linux on Synopsys ARC Processors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexey Brodkin , Eugeniy Paltsev , linux-kernel@vger.kernel.org MIME-Version: 1.0 Sender: "linux-snps-arc" Errors-To: linux-snps-arc-bounces+incoming=patchwork.ozlabs.org@lists.infradead.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