Received: by 2002:a05:7412:37c9:b0:e2:908c:2ebd with SMTP id jz9csp1261713rdb; Wed, 20 Sep 2023 04:34:29 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFu/U0hUKc8rwcDeBltstiMFZF0INv/9/zW4XPO4F42/tasNI1ES6J/rwLVODh1lY4L5lyo X-Received: by 2002:a17:902:e881:b0:1c4:314a:d045 with SMTP id w1-20020a170902e88100b001c4314ad045mr7572752plg.14.1695209669143; Wed, 20 Sep 2023 04:34:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695209669; cv=none; d=google.com; s=arc-20160816; b=VwPCF8Cxbdx/8aHgSxXk/81rktRbvRFg4500Q91/p/lO2qkLVEv4+2+OzklW+CI8Mu ZwsvfUFb4aZ2nPSjYoEAGvCPH1fr8WBaX0suJlkK4HQGDy/deE3F1GtovkkbkMtkIePu o7is5QKBCYzVC5pXuxtOYGgmo8se98IMW3zGwhwdvod3bEGZgl6YSh9wuaFiviFR7X45 cJzdJlgyRTDud8D4rKSg6AJuPxE3LCXIKwhc1FUFVB1VFoVCROvPvOA6aFN8gqSK2g7W wwo0ySk3++q1SvX3pWI6MKRVAh1yS3KBU0PWtBIdIPfrUYV6Q4kCZk8gABgg8mz6NJC7 XQ0Q== 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=muiwzLxZMy2jBRh4Pcbc7GxkV5wLF//W5T5aDFUGToo=; fh=6/+MrGEwXu3chX+JgIyVPR9luFinEXEbVHdRWlFWSv8=; b=gPCBjtCH9UB7Qz5T8bhTbR85VZfl2TfmHWK0lsh/+xqE97GSvmOLMerQ7XpkyINyZi Tj8hKFm6CRR186Ouh6nByff2FnxU1/77WvSjBwsmrWMXndGM5JjRx931t+h3PpN6Aa0q 75c5XiTRx5TkfA/xq5DWfjnlH/IIAetpMnJxNpCBUDviGY/1+d2KBkNrBM7pO9CI0vMJ OJY6YeL0RvYfSxNsn/JisjUVBgqyblCkzwnwakS5j8+BrhaIFnWg2FL68Gw+gczUM994 AJD9tPDM4Hj3Q9TcxEeBrvkWlgmHE02Sq90k6qyuWmD55Z3f1yTbj+bOXbai2TGzXlmJ qIMA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=Z1VwBgv4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [2620:137:e000::3:8]) by mx.google.com with ESMTPS id q16-20020a170902dad000b001badbe8e441si5698409plx.106.2023.09.20.04.34.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 04:34:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 as permitted sender) client-ip=2620:137:e000::3:8; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=bombadil.20210309 header.b=Z1VwBgv4; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:8 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 fry.vger.email (Postfix) with ESMTP id 3EC2F82B2E72; Tue, 19 Sep 2023 22:22:51 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232762AbjITFWs (ORCPT + 99 others); Wed, 20 Sep 2023 01:22:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232543AbjITFVv (ORCPT ); Wed, 20 Sep 2023 01:21:51 -0400 Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2607:7c80:54:3::133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF95FD7 for ; Tue, 19 Sep 2023 22:21:45 -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=muiwzLxZMy2jBRh4Pcbc7GxkV5wLF//W5T5aDFUGToo=; b=Z1VwBgv4GnNAEnNv9MdCTu7HQK jHpWqEkNRqm058IC99bKK7tUqs1ukIg+6+ZdyJP+fTHKNpeSdgBdm9vjjd8NFQamC69nYGBgg4RWL QiTZ5bkOzDqISdieJjn+r7kIRMJNUv/BIyi9FuPTiEbOdJAKHzIdNoOXl6bDWGFi7AajbK+BPD700 dMoUuCr76hm8tWGihZrDYxoXvCPqQEW8mAQls80UQmOBd/fLfBkuNB/q5DS83ugJYJy/N9NAiYZSo dp0B0Z25hOX4Ka7Ow/lDmHSLQgMICe6s7ufeiLzsGpEsndwVJpz/VxUGY4LUK76MtQeM+pyn6fR4h hHrXhiSw==; 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 1qipej-001tym-1t; Wed, 20 Sep 2023 05:21:45 +0000 From: Randy Dunlap To: linux-kernel@vger.kernel.org Cc: Randy Dunlap , Chris Zankel , Max Filippov Subject: [PATCH 12/16] xtensa: tlb: include for missing prototype Date: Tue, 19 Sep 2023 22:21:35 -0700 Message-ID: <20230920052139.10570-13-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 Content-Transfer-Encoding: 8bit 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 fry.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 (fry.vger.email [0.0.0.0]); Tue, 19 Sep 2023 22:22:51 -0700 (PDT) Add the prototype for check_tlb_sanity() to and use that header to prevent a build warning: arch/xtensa/mm/tlb.c:273:6: warning: no previous prototype for 'check_tlb_sanity' [-Wmissing-prototypes] 273 | void check_tlb_sanity(void) Signed-off-by: Randy Dunlap Cc: Chris Zankel Cc: Max Filippov --- arch/xtensa/include/asm/tlb.h | 2 ++ arch/xtensa/mm/tlb.c | 1 + 2 files changed, 3 insertions(+) diff -- a/arch/xtensa/include/asm/tlb.h b/arch/xtensa/include/asm/tlb.h --- a/arch/xtensa/include/asm/tlb.h +++ b/arch/xtensa/include/asm/tlb.h @@ -18,4 +18,6 @@ #define __pte_free_tlb(tlb, pte, address) pte_free((tlb)->mm, pte) +void check_tlb_sanity(void); + #endif /* _XTENSA_TLB_H */ diff -- a/arch/xtensa/mm/tlb.c b/arch/xtensa/mm/tlb.c --- a/arch/xtensa/mm/tlb.c +++ b/arch/xtensa/mm/tlb.c @@ -17,6 +17,7 @@ #include #include #include +#include #include #include