Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp256008pxa; Fri, 14 Aug 2020 03:24:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx08+IAZfz0C32KPN1a2Nk0ZRsUw116fxGlfG9Qfc5RhkKkH2ehueYXXVs9AcVY2pfx7Ykn X-Received: by 2002:aa7:c1ca:: with SMTP id d10mr1570016edp.261.1597400656532; Fri, 14 Aug 2020 03:24:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1597400656; cv=none; d=google.com; s=arc-20160816; b=sw/N9Xe1J/sa0eIQYPafRDuCz/7N0STlYfvXNRm6kyH4kcEaG59T7PTy2AhDMrhQub 21jb9iAwd25/C/m9m2DxWh4CYzvL9C/0Tk6iiWdiIT3IERBrtOVRxlL7hQDm+jvqitno KxA0pEDzNXUlTcg1EX7xdqUx+anIM8gMEFkFQv4RhqH99kSdr+mHgjqcgCDv6gxncAIs 5k6qrmijEUIOHCgXODXt+NDc+LWIxePOC15RFu9kaEpJ7u8N0r3DyJH87EXoLCwiNC+j A1X0nqRQ/QOFVXnm/21YKhXFGL8kjOQy+ePqNFWtIha7J6MO6PdkCpeIUe1twZ11C/Z4 0x2g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=I+i5vZQXWrf/KUAk9C11ycLkrkSmvUWDkdy2tm1Gwew=; b=bMI8nL19rnm11zq8hlQhvNHmWKVMsjAuCf9m8WHuc527CoD0maJBhH0MqcrKvB03mG Kb7qZu3cDqA2MYQ+ZVoHXCk3hx9x8qBM1zo/j8k0y7r20DyqgaZNWbdnsfxJ3RzLsR1z aWlLkUIBoq7MYv3bK3SWU5B+MVPPZ99AlfbVVx9wQ30j2IwIGi8ZKeUaAu3m96Wsyxq2 pfEfcUPDs2JiXM7AOd2H9ouh8oY1IV/bW5DI5YNx3i+fzLDLIFQ6drIa5ADa/sy6rQgu eocUh0K3Ngoy/jT7Qva5QVPYk7QjqHQVHq8SAK28vWTDB/n5aSN5Q4cPoxflVquD5+yN ylRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=RPjeU6zq; 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 rl7si4867591ejb.264.2020.08.14.03.23.53; Fri, 14 Aug 2020 03:24:16 -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=fail header.i=@gmail.com header.s=20161025 header.b=RPjeU6zq; 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 S1726298AbgHNKUl (ORCPT + 99 others); Fri, 14 Aug 2020 06:20:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55768 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726012AbgHNKUl (ORCPT ); Fri, 14 Aug 2020 06:20:41 -0400 Received: from mail-ej1-x642.google.com (mail-ej1-x642.google.com [IPv6:2a00:1450:4864:20::642]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B0953C061383 for ; Fri, 14 Aug 2020 03:20:40 -0700 (PDT) Received: by mail-ej1-x642.google.com with SMTP id m22so9337294eje.10 for ; Fri, 14 Aug 2020 03:20:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=I+i5vZQXWrf/KUAk9C11ycLkrkSmvUWDkdy2tm1Gwew=; b=RPjeU6zqdODP1C8UKmtoZ34WASOQ8dU9xOyDNJR/DU8hqWTmthOTFPiV8Zf0Wfgjs5 QGEMS4K+6+HO5eiQ+knMMNrEt10zyvhBbCHP3qXVjCkAOTiQQMFzmFSRrffRRr8UzOH9 BIGUhlx8mJdELzeUwdbBOwy7L9H4D3H3Wtf2UOiexiHusBSomrUrAh9kX7ACXXZpLmeJ D9M7yP2DHYC9+zkMzivN9sO3ZwmNBcmdYeLF1a7gHQJ5L9+3cQdY0q1SUPIfkZAPjRcY 4Du+AJQrG2zPhMKrffE76e/GognfAwd+yJLK1+DdOX1SuiVusRn9F/zIwH6BAg4hINxJ PeVg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to; bh=I+i5vZQXWrf/KUAk9C11ycLkrkSmvUWDkdy2tm1Gwew=; b=qIfGL5WWE6TiuG6C9+O15CJDvEUCmKMrYcl6yzhdGjvXetcBkuAMwxyLyJya3JmuSO ScBSYeL+NxXUfWD664qUOj7Dh6oHjnVQYsa9Dk7KhJoSdjsGko1ftM4/mkU2IyN7R6LH TZUIujK8cO5koR6suRD8XfUpziCk3jHBeYzBfS9BCI5IsUVB5FsOIxyvwp6/LSYNp7MQ j8pP4RWg+yJTqF9Ahqjz3/++sss4keBv8AX1/2TVmVsUFHX1Muw/PdFOXjwbrpV+xHxY hhnR7j3XW7Rcaac3HGqsB3SVVePHV2goBwmcw2xGjJNnndynzm6IlUq0R25YW27vLPh6 qmtA== X-Gm-Message-State: AOAM533ntUBjX+DKVXTfKDwGaTWV5jQeAibv2sZN17oq/RJYBSSbic2G VJGOiCDJ749Fohmc9ZKQQEI= X-Received: by 2002:a17:906:4047:: with SMTP id y7mr1631507ejj.21.1597400439336; Fri, 14 Aug 2020 03:20:39 -0700 (PDT) Received: from gmail.com (54033286.catv.pool.telekom.hu. [84.3.50.134]) by smtp.gmail.com with ESMTPSA id z10sm6349708eje.122.2020.08.14.03.20.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 14 Aug 2020 03:20:38 -0700 (PDT) Date: Fri, 14 Aug 2020 12:20:35 +0200 From: Ingo Molnar To: Peter Zijlstra Cc: Xingxing Su , Ingo Molnar , Will Deacon , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] seqlock: Fix build errors Message-ID: <20200814102035.GA2367157@gmail.com> References: <1597378358-2546-1-git-send-email-suxingxing@loongson.cn> <20200814083552.GE3982@worktop.programming.kicks-ass.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200814083552.GE3982@worktop.programming.kicks-ass.net> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * Peter Zijlstra wrote: > > Signed-off-by: Xingxing Su > > --- > > v2: update the commit message > > > > include/linux/seqlock.h | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/include/linux/seqlock.h b/include/linux/seqlock.h > > index 54bc204..4763c13 100644 > > --- a/include/linux/seqlock.h > > +++ b/include/linux/seqlock.h > > @@ -17,6 +17,7 @@ > > #include > > #include > > #include > > +#include > > #include > > Wrong place, it's lockdep_assert_preemption_disabled() that requires > asm/percpu.h, and thus lockdep.h should include linux/smp. before > asm/percpu.h It already does that upstream: #ifndef __LINUX_LOCKDEP_H #define __LINUX_LOCKDEP_H #include #include #include So it would be interesting to know what kernel version the build error occurs on. Thanks, Ingo