From patchwork Tue Jan 10 20:21:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe JAILLET X-Patchwork-Id: 41632 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp2954061wrt; Tue, 10 Jan 2023 12:27:34 -0800 (PST) X-Google-Smtp-Source: AMrXdXuuXRNH5Vn63Qo0ImNZYQBCaQQeHNHDRALF61WEnrqwdvfjdioNjPHhyLQAInduod9WQwcG X-Received: by 2002:a17:906:6a91:b0:844:d342:3566 with SMTP id p17-20020a1709066a9100b00844d3423566mr51238322ejr.22.1673382454571; Tue, 10 Jan 2023 12:27:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673382454; cv=none; d=google.com; s=arc-20160816; b=g5OTb8Bguyo8s5t2jH3T4GenzL6bju26GuL9THdu+oaZRLh+72hYgNvo4+Wu5fMZgO /Jpp+epPhYVjaP16YyV7k9N7B4JeB0EvgIBNZP3xP1B4VOjAl0JX2ZHb5baPJ0FTUAOD Vw8F1uiNsUa3c/3//KSSWJpr3wIu2jL/jLeegwaPgXVHMlVvRqqG3kDLlmHA8K1AJZ9X 6xBKiwRzoJ0kMAx5IvtN15ivZB2RInEiUdMpxVtaUDXkYyfSINHJw33wIhifM60CV8x6 pGKnHpyyTmru9NXn1FP4dAO9cSWDs2dtubAPq2gtrQLWLLaglIdYC1/lOZQkAqgO8mtK i1qQ== 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 :message-id:date:subject:cc:to:from; bh=8siYKIDJXJxjsG9k1V2lLUsjioxECFgobqUc+B9rhR8=; b=C0v6+wXdwrH/x9PtKsaA7RRlWkICI1sIhOt3/FHUyDWcmSkiXnPlh0dPyN6GqX4Uty w6ezoRGTgSvpj65tGzqcMt+axEOoaeZWJz4nrpmGvMkWFWGCV483morsOnX1+73LzO77 nfo4K+0fKs6u5UjWUU0QZn6CMtALc2VHKlfn0tGETTRLI1ikjRWa9/LqVNUkPbhOGFPC fAfUzxGT89kaq/Oy93RDzxUOiZV1OnyA17w4SniW4DIjiJ9qM/CgT+26928sbhwoO6Ps JhBOD6UpG8XvYB+dxWxivREi2mFMulpRTmFZjPLJ8YH6mak0VToj/pmZ0eV/C5ewllQr r6aA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s19-20020a170906455300b007c10ac8f9afsi9904983ejq.807.2023.01.10.12.27.10; Tue, 10 Jan 2023 12:27:34 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231939AbjAJUVf (ORCPT + 99 others); Tue, 10 Jan 2023 15:21:35 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36084 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231948AbjAJUVc (ORCPT ); Tue, 10 Jan 2023 15:21:32 -0500 Received: from smtp.smtpout.orange.fr (smtp-24.smtpout.orange.fr [80.12.242.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 59CC795BB for ; Tue, 10 Jan 2023 12:21:29 -0800 (PST) Received: from pop-os.home ([86.243.100.34]) by smtp.orange.fr with ESMTPA id FL7cpSMgVPNsNFL7dpVOK1; Tue, 10 Jan 2023 21:21:27 +0100 X-ME-Helo: pop-os.home X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Tue, 10 Jan 2023 21:21:27 +0100 X-ME-IP: 86.243.100.34 From: Christophe JAILLET To: Andrew Morton , Vineet Gupta , Greg Kroah-Hartman , Dan Carpenter Cc: linux-snps-arc@lists.infradead.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET Subject: [PATCH v2] bit_spinlock: Include Date: Tue, 10 Jan 2023 21:21:13 +0100 Message-Id: X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1754668680697421189?= X-GMAIL-MSGID: =?utf-8?q?1754668680697421189?= In an attempt to simplify some includes in , it appeared, when compiling fs/ecryptfs/dentry.c, that was relying on other includes to get the definition of cpu_relax(). (see [1]) It broke on ARC. Include in to fix the issue. This will help to remove some un-needed includes from . [1]: https://lore.kernel.org/all/202301082130.LXMj5qkD-lkp@intel.com/ Signed-off-by: Christophe JAILLET --- Change in v2: - include instead of (Andrew Morton) v1: https://lore.kernel.org/all/8b81101d59a31f4927016c17e49be96754a23380.1673204461.git.christophe.jaillet@wanadoo.fr/ --- include/linux/bit_spinlock.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/linux/bit_spinlock.h b/include/linux/bit_spinlock.h index bbc4730a6505..4e3b407963f6 100644 --- a/include/linux/bit_spinlock.h +++ b/include/linux/bit_spinlock.h @@ -4,9 +4,9 @@ #include #include +#include #include #include - /* * bit-based spin_lock() *