From patchwork Wed Sep 20 05:21:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Randy Dunlap X-Patchwork-Id: 142292 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:612c:172:b0:3f2:4152:657d with SMTP id h50csp3980673vqi; Wed, 20 Sep 2023 01:54:50 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHCaY6SPkmzR+97/gd3aOS9wgZkN/DfYN1r2dlw2hawDJmPj3F30wSL29NEEPc23C1+tgMz X-Received: by 2002:a05:6a00:22d4:b0:68e:4587:3da9 with SMTP id f20-20020a056a0022d400b0068e45873da9mr1997661pfj.17.1695200090040; Wed, 20 Sep 2023 01:54:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695200090; cv=none; d=google.com; s=arc-20160816; b=uKnlDRFyTzQNOYwfX6hXZiEVodgKxJrNbLVeTnEmiovx2IqvxRIPKktKl0gtyKWqUz ghiLwnP8h9mbR2Ecbw7DeDp8It3lMmrz8181/7M1UPxy4xaXxmVDPYsrD3KcqHMYzoNc OQPU46oCxiS/bwD9UysTesSWC1ACfW+/uQB0VATlC3L8ruCrNfrw4qeV+0/n9uIcoAdS /sCdiT7aNy4fOvwPlkPva7YSB3XV93Lye4HA2c5sH3V8mS68V2cCigFQ6fjiVZOvW8dz B4c7ARbdbaV8ZjYa5IDaHwoza9u8KFsNtuEe4ZPdgmXAU3I8mvgn0Sjp+3xvrfGG5CYO Ztiw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=k1o2Ekmeu8BpquniHUsCXqdavZ5ZtIt3qUMpaG8idGY=; fh=6/+MrGEwXu3chX+JgIyVPR9luFinEXEbVHdRWlFWSv8=; b=idhWjcbgxROl4GAl3YzlXjyopB6FwhWvLGGAOBEVjedTsUZue7XL8bMwcG2fCPFX0z NNLqkcd6NW9zkZH/W6u3s+/coOa/W63zkNmMavw40cO/kZS/CICpR1fjOWQZ+NIysQ+C LLeJe/k5rqyQvQeIm2HnpfpUUbyljOj9qlMlKXG2KoKBFHML3AgPnpWYVuZNxtRRC1kF SKlLJZ50z8rWtezfd9QfupsviZqRQilo/461Q5fhuVmPKk53sPz2zAaT+kzhyPq/6s5B jOoeRNDWry7Gc0CwPRLnl0cW4BcHSkTTLKZYrhKhUMxtfo+3XK3T4khAjnM8SFNeL+5V Iemw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=NLnTXwIm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from pete.vger.email (pete.vger.email. [23.128.96.36]) by mx.google.com with ESMTPS id y184-20020a638ac1000000b00578a79e8f8bsi3505589pgd.551.2023.09.20.01.54.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 01:54:50 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) client-ip=23.128.96.36; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=NLnTXwIm; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.36 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by pete.vger.email (Postfix) with ESMTP id 01F37829AA0C; Tue, 19 Sep 2023 22:22:12 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at pete.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232680AbjITFWB (ORCPT + 26 others); Wed, 20 Sep 2023 01:22:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47746 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232376AbjITFVt (ORCPT ); Wed, 20 Sep 2023 01:21:49 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 400BCF7 for ; Tue, 19 Sep 2023 22:21:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Transfer-Encoding: MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:Cc:To:From:Sender :Reply-To:Content-Type:Content-ID:Content-Description; bh=k1o2Ekmeu8BpquniHUsCXqdavZ5ZtIt3qUMpaG8idGY=; b=NLnTXwImvvhPaUU6GRVAi8580t OA5ZG+ZnbgUgFYPptAGJcweZcPwvfMSwh5faftayoVwj75hR/AwZ8B87EyR2JcVFBdW7P7XeobuRz hVzi7u0yFhYqOjBe8X0swguFJXh/SE6jndckWKlWxZIKNMwQTHVzSQrkOy9oofxvRHMo7g9o5oF/X O7BwRIkG6yoeKQWfsHTf2A6Vgen/Ij2U7GGhqMVRMzdig4nszt8DNteuwKdiI6RDxEpNjcqB9zkhL /NTaxEMAhPZsSK881YYDEXSk6W9fEmX9PRnr8TU18q0AkNjHFPebVHg/d2jN+44W07tkEW7DK7/It FaoYDFDg==; Received: from [2601:1c2:980:9ec0::9fed] (helo=bombadil.infradead.org) by bombadil.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1qipeg-001tym-31; Wed, 20 Sep 2023 05:21:43 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Chris Zankel , Max Filippov Subject: [PATCH 03/16] xtensa: irq: include Date: Tue, 19 Sep 2023 22:21:26 -0700 Message-ID: <20230920052139.10570-4-rdunlap@infradead.org> X-Mailer: git-send-email 2.42.0 In-Reply-To: <20230920052139.10570-1-rdunlap@infradead.org> References: <20230920052139.10570-1-rdunlap@infradead.org> MIME-Version: 1.0 X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on pete.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (pete.vger.email [0.0.0.0]); Tue, 19 Sep 2023 22:22:13 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1777546129524254439 X-GMAIL-MSGID: 1777546129524254439 Use to provide the function prototype for do_IRQ() to prevent a build warning: arch/xtensa/kernel/irq.c:34:17: warning: no previous prototype for 'do_IRQ' [-Wmissing-prototypes] 34 | asmlinkage void do_IRQ(int hwirq, struct pt_regs *regs) Signed-off-by: Randy Dunlap Cc: Chris Zankel Cc: Max Filippov --- arch/xtensa/kernel/irq.c | 1 + 1 file changed, 1 insertion(+) diff -- a/arch/xtensa/kernel/irq.c b/arch/xtensa/kernel/irq.c --- a/arch/xtensa/kernel/irq.c +++ b/arch/xtensa/kernel/irq.c @@ -28,6 +28,7 @@ #include #include #include +#include DECLARE_PER_CPU(unsigned long, nmi_count);