Received: by 2002:a05:6a10:8a4d:0:0:0:0 with SMTP id dn13csp168017pxb; Thu, 12 Aug 2021 13:26:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzXX1EtOPxWEHKCb96ZRbHKSSKuzEtlCiUh5w+Y+ZxQrI1uR3k67kP1yENfYJntYvTWoiG0 X-Received: by 2002:aa7:c3d0:: with SMTP id l16mr7759204edr.122.1628800006155; Thu, 12 Aug 2021 13:26:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628800006; cv=none; d=google.com; s=arc-20160816; b=T31plalMD+P9nIGEIMSWFSyOEkc9593D6mjMmCs9bAVTQ5WHVA3irlQjE31DkqvIxn rbLDMP2irwaRN26wyUQbW4KOWigRTptGwpX24vT2zvxCwq4P2eVig/KgtvrNi0mrZfMU 6823VuF918lCOBsKomL0o+64m0FTtYNaZ2DSIrAS4G44sXFvBpF97Nuh37xznLhfSV7n wECVqzwO1mwvNNUX4XVuWAvUnQuue3gCRW0MWbU/cfQYMizTaVN7Pc+pGnWGRMVLt+/0 hPHEaYUGI3J/uVyn776KZRVEWiwicKtelS3xxeVlICf3Wxgc87T87yLfCY0MZnHw0FF9 UqTA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-language:content-transfer-encoding :in-reply-to:mime-version:user-agent:date:message-id:from:references :cc:to:subject:dkim-signature; bh=RhmLZzkV1MM4nT52scm6zwYeSejD+FTh8VGVkA4TQRI=; b=0Rjv5BsBCRxD61rH6BfSd0YJef7w40BHrmjoo2r+hquAF0pPkZallWKGy/znWXQIHu +OOxDF8oqyXCj6ACD4iCAmBTbp0Y8fY1SOhMmSP9ejOYn9imBuXTC6LF73rcefva6kbk QgiMtHbJxiWdb1NJrBWBYw55CwRb62oxOJI0ZcQPU6TERygTFdXPj1TwiP2AOC9wY2OC 9NpRyYJHtShiOQ1g3a51rW+XtXmOPb0wY+e8S0G/Hf+goSZgQZrOoPqCmfMRDb4Fpg3/ GAFokP42KB6UNbg9EYymAVemw1XlY+nhr7v82lmPylO+I5FpQlLWe1AwXLjlEbq9k1fE bJbg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VwLU2IBE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id mq21si3307492ejc.409.2021.08.12.13.26.22; Thu, 12 Aug 2021 13:26:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=VwLU2IBE; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234251AbhHLS6R (ORCPT + 99 others); Thu, 12 Aug 2021 14:58:17 -0400 Received: from mail.kernel.org ([198.145.29.99]:57336 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229950AbhHLS6R (ORCPT ); Thu, 12 Aug 2021 14:58:17 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 362056103A; Thu, 12 Aug 2021 18:57:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1628794671; bh=9lyFwGGuyLf5GdDUz/aKvERlOFF1uWuGiPBbUIAEKfE=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=VwLU2IBE7pm2CpqhWrWcs09zHfDgGQQ+XwYJ0x4NJ+OYptETg8cUHpeJuXviSEb8m hZwv3aN1LfVIwHZVS+UQ7mB1srMgVxwRZcSfRTFv67A2WL07AvZbrPj/Jz8MICDjiz tSsLyZBkRPIi4PEfw72QWFlCzfTyNhyHc6hoJdLtBX/ALr48Ij7oskYZxfFb8gVUAz MdoO56PMOMA1qSMNTQQWl/YJOfRCSFiinLi5nd/tFripDrfTPOSzz5IN+8rkyBTJL5 ClZ1UH9RZQQUjhvz/MyHpPFG2IOOryYDriDcsJsaN4YgRfyjgsTyLvyz3NzaOYphUa cYgcKsD4gQWUw== Subject: Re: [PATCH -next] trap: Cleanup trap_init() To: Kefeng Wang , linux-snps-arc@lists.infradead.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, uclinux-h8-devel@lists.sourceforge.jp, linux-hexagon@vger.kernel.org, openrisc@lists.librecores.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-um@lists.infradead.org, linux-mm@kvack.org Cc: Vineet Gupta , Russell King , Yoshinori Sato , Ley Foon Tan , Jonas Bonn , Stefan Kristiansson , Stafford Horne , "James E . J . Bottomley" , Helge Deller , Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , Paul Walmsley , Jeff Dike , Richard Weinberger , Anton Ivanov , Andrew Morton References: <20210812123602.76356-1-wangkefeng.wang@huawei.com> From: Vineet Gupta Message-ID: Date: Thu, 12 Aug 2021 11:57:49 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <20210812123602.76356-1-wangkefeng.wang@huawei.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 8/12/21 5:36 AM, Kefeng Wang wrote: > There are some empty trap_init() in different ARCHs, introduce > a new weak trap_init() function to cleanup them. > > Cc: Vineet Gupta > Cc: Russell King > Cc: Yoshinori Sato > Cc: Ley Foon Tan > Cc: Jonas Bonn > Cc: Stefan Kristiansson > Cc: Stafford Horne > Cc: James E.J. Bottomley > Cc: Helge Deller > Cc: Michael Ellerman > Cc: Benjamin Herrenschmidt > Cc: Paul Mackerras > Cc: Paul Walmsley > Cc: Jeff Dike > Cc: Richard Weinberger > Cc: Anton Ivanov > Cc: Andrew Morton > Signed-off-by: Kefeng Wang > --- > arch/arc/kernel/traps.c | 5 ----- Acked-by: Vineet Gupta   #arch/arc