Received: by 2002:a05:6a10:8a4d:0:0:0:0 with SMTP id dn13csp398212pxb; Thu, 12 Aug 2021 20:00:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzsJUc3W69eHz0pbKX+t67c4EROWc32tiIWap2719nmR82BH0UyWJPhNC7xMHB1t77Yjvim X-Received: by 2002:a02:cc21:: with SMTP id o1mr101083jap.114.1628823630458; Thu, 12 Aug 2021 20:00:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628823630; cv=none; d=google.com; s=arc-20160816; b=nU66dO3Y8Q0A9QB0MSSpxTJgp8mPPKUBe0LbaN3deuyLKdAJr8HU9pqWTMUJwQpHIU o03cuIyrWGUt46OucchFIfVWhhe6BHF2BI9UDHe0UZmN1pmhUie7OgHnkRAlIq8Y7DJF CaIE5uEuP/qUxYNHzx1uOuYxs2gTG0CQthcsTOykeFz7bLbq5xyV/qkK4ZYDbtgfNzn1 x1qKQjKl/YeX6/z47jezfs3Yt8A8MzV4ALsvxuLfX+4IsR/nky9o9L/foLDaP0HCQ1y7 +nGIawF4/h6+fmH5UrA9AJ43UgUdA8kDDQT76Ovro/JP53Lnl7c6s+ezeECKu63Ovilu BubQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=jlHWtsgYmZ30B2WJN0Jw5XD8BZs0Z7qm5rWOQviWRxQ=; b=MO5b57kJDWWn6OJJ8dtcU7MX8eRF+XhewHogfmSdhe8Qo5siNBLs501r1RPawZxCdq UNrwor7nSFe0bvMTdQ8CL6vCkLzGSzOexcMH9vhRidDivT0o5emJD3W8Rnf/zwHMgkXt 4fA/U6pVHcWse0wTnvDpsF2g5/QPrQBesJxkPtMEW0wNGtxRL9vNZ0F/iIBEVNsKygVU RtBIXNwG04PJRmv4IVi/lw/8w+JyGPBNhjK9K7SxrZU8tfU8no891gEqLH67ID+FwVh2 lraUR/D3efiBsYDHASlnGt5vvXVzQKyTLTC9wPMEmU/BLde9gMIzGYx8JCHY22wxFoR1 verg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b=iQqdFqNs; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u5si14904jam.103.2021.08.12.20.00.18; Thu, 12 Aug 2021 20:00:30 -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=@ellerman.id.au header.s=201909 header.b=iQqdFqNs; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238296AbhHMC2r (ORCPT + 99 others); Thu, 12 Aug 2021 22:28:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42496 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238165AbhHMC2p (ORCPT ); Thu, 12 Aug 2021 22:28:45 -0400 Received: from ozlabs.org (ozlabs.org [IPv6:2401:3900:2:1::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BCCEFC061756; Thu, 12 Aug 2021 19:28:18 -0700 (PDT) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4Gm6st5f1Mz9t23; Fri, 13 Aug 2021 12:28:02 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ellerman.id.au; s=201909; t=1628821695; bh=jlHWtsgYmZ30B2WJN0Jw5XD8BZs0Z7qm5rWOQviWRxQ=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=iQqdFqNsp0RRZI3qzmEc8DvXwIl+xP6sqn6MkAu1yNyVEEqSByPkt7fyHM+X9Mkc1 H5RsYWUWRX8EIeuJJ4pqVwfnttonPEDoUI6iLblU3xQm7I/dYs830ptXGtqFnm8msw bQaEGG6Y/DzH1CN1Mvvb00KGwJKu//Dz61HaxwsLpsn/iRop+KxRmApjk7hRSxfG8F cG79DxTOVkrHCCl0Z+JjvfFI1Us2ePvxaJcd/q1n8XQPkD29Snt/5eadLOKqEw4s5I wyuWWaQ6HM0csDFNLWQbGqs6kWuET5VesHnFV3cwA2hGTS/6dU1L+U6SqYdZgv1Mhm jRnaImnD2vgxw== From: Michael Ellerman 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: Kefeng Wang , Vineet Gupta , Russell King , Yoshinori Sato , Ley Foon Tan , Jonas Bonn , Stefan Kristiansson , Stafford Horne , "James E . J . Bottomley" , Helge Deller , Benjamin Herrenschmidt , Paul Mackerras , Paul Walmsley , Jeff Dike , Richard Weinberger , Anton Ivanov , Andrew Morton Subject: Re: [PATCH -next] trap: Cleanup trap_init() In-Reply-To: <20210812123602.76356-1-wangkefeng.wang@huawei.com> References: <20210812123602.76356-1-wangkefeng.wang@huawei.com> Date: Fri, 13 Aug 2021 12:27:58 +1000 Message-ID: <87czqim635.fsf@mpe.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Kefeng Wang writes: > 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 ----- > arch/arm/kernel/traps.c | 5 ----- > arch/h8300/kernel/traps.c | 4 ---- > arch/hexagon/kernel/traps.c | 4 ---- > arch/nds32/kernel/traps.c | 5 ----- > arch/nios2/kernel/traps.c | 5 ----- > arch/openrisc/kernel/traps.c | 5 ----- > arch/parisc/kernel/traps.c | 4 ---- > arch/powerpc/kernel/traps.c | 5 ----- Acked-by: Michael Ellerman (powerpc) cheers