Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp582031pxb; Fri, 15 Oct 2021 11:29:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy11ayGJBynhh2vF34u7wtA13MAfPZAKpsJSUJpIHxtvu5D9SqtI7FvZLupHtharyHcriSZ X-Received: by 2002:a17:90a:a609:: with SMTP id c9mr30002024pjq.134.1634322564818; Fri, 15 Oct 2021 11:29:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634322564; cv=none; d=google.com; s=arc-20160816; b=DLeFSO3w6rJhINrG/EX4BpaM6Tz+Y7wK+eStr8nDnEC9r0uqdSBiGJpr1vi0Q15bSP tt1LqeNxifSVsdIpYZWu1As6D0n9sTT4kQP8zJYca0N22nhvmRuIoGtgw6SyQDl4xy8y 6PCXCpBqtfclWLesucpQfFKY+5cbMNZXmb14k+kxaggKu3ND3nGl6cSFP5ISHjbsiOsN S59qxFWqjyhoBAOdtzdM0od4RrMZcvwoqOugG95jvRRhzF7v+f47rFn/NLG/0McZYCNf bjdYCfBowOmGmPTjHZKnyZHRHKNt5s5XvEyYgiOPIQH2MU6tzuRB7UWhqyJoQ7ZcObRX 22Hw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:organization:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=RjZxmBqfd77xyYm9Re5vq3wGU+2U2zPhZOk7QmaZZ0o=; b=UEkWHzxpg/iGsPyGmYdS14oZBXFdgFuSNGVJjWeCV2u2YrhIoDJB3Ntctd9GS3oA9Z LrtTAHKiEQCo0ueXRAJlab/UUE/QNCQPoImHCjgLYIFCEx4SP33RfC1UyE7K7Ic36o5E GRkz07g51Zt2NxRUlSUqIpJun4htnsOfo2WXKPGNxCc062eCA9HgQAKJiOgy2vZwrhmv Yl8vUNnoe3aHbKJJwufB7E/R3cdROI//kor+UE6j8DunYtZY/1FphcNyJD7AqVTrHep+ Q+GzphDZ/qJX4nvtJ53BEIqyhados/SQS4vxx7USKTjbnFQoOwSd1Zui25Ovr4gQ8NIT pw1Q== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g4si9274946pgu.471.2021.10.15.11.29.12; Fri, 15 Oct 2021 11:29:24 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237909AbhJOKRs (ORCPT + 99 others); Fri, 15 Oct 2021 06:17:48 -0400 Received: from mga05.intel.com ([192.55.52.43]:22698 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237905AbhJOKR0 (ORCPT ); Fri, 15 Oct 2021 06:17:26 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10137"; a="314085993" X-IronPort-AV: E=Sophos;i="5.85,375,1624345200"; d="scan'208";a="314085993" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Oct 2021 03:15:13 -0700 X-IronPort-AV: E=Sophos;i="5.85,375,1624345200"; d="scan'208";a="492402292" Received: from smile.fi.intel.com (HELO smile) ([10.237.72.159]) by orsmga008-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Oct 2021 03:15:11 -0700 Received: from andy by smile with local (Exim 4.95) (envelope-from ) id 1mbN32-000Oz6-PT; Fri, 15 Oct 2021 16:14:56 +0300 Date: Fri, 15 Oct 2021 16:14:56 +0300 From: Andy Shevchenko To: Stephen Rothwell , Rasmus Villemoes Cc: Andrew Morton , Linux Kernel Mailing List , Linux Next Mailing List Subject: Re: linux-next: build failure after merge of the akpm-current tree Message-ID: References: <20211015202908.1c417ae2@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211015202908.1c417ae2@canb.auug.org.au> Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org +Cc: Rasmus On Fri, Oct 15, 2021 at 08:29:08PM +1100, Stephen Rothwell wrote: > Hi all, > > After merging the akpm-current tree, today's linux-next build (arm > multi_v7_defconfig) failed like this: > > In file included from include/linux/rcupdate.h:28, > from include/linux/rculist.h:11, > from include/linux/pid.h:5, > from include/linux/sched.h:14, > from arch/arm/kernel/asm-offsets.c:11: > include/linux/bottom_half.h: In function 'local_bh_disable': > include/linux/bottom_half.h:19:24: error: '_THIS_IP_' undeclared (first use in this function) > 19 | __local_bh_disable_ip(_THIS_IP_, SOFTIRQ_DISABLE_OFFSET); > | ^~~~~~~~~ > include/linux/bottom_half.h:19:24: note: each undeclared identifier is reported only once for each function it appears in > include/linux/bottom_half.h: In function 'local_bh_enable': > include/linux/bottom_half.h:32:23: error: '_THIS_IP_' undeclared (first use in this function) > 32 | __local_bh_enable_ip(_THIS_IP_, SOFTIRQ_DISABLE_OFFSET); > | ^~~~~~~~~ > > Presumably caused by a commit in the series that starts with > > dcaf7a5f413b ("kernel.h: drop unneeded inclusion from other headers") > > I have applied the following patch for today (though there may be a > better solution). Thanks! As a quick fix looks good, but I think we need a separate header for those _*_IP_ macros. > From: Stephen Rothwell > Date: Fri, 15 Oct 2021 19:58:46 +1100 > Subject: [PATCH] bottom_half.h needs kernel.h > > for _THIS_IP_ on arm at least > > Signed-off-by: Stephen Rothwell > --- > include/linux/bottom_half.h | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/include/linux/bottom_half.h b/include/linux/bottom_half.h > index eed86eb0a1de..11d107d88d03 100644 > --- a/include/linux/bottom_half.h > +++ b/include/linux/bottom_half.h > @@ -2,6 +2,7 @@ > #ifndef _LINUX_BH_H > #define _LINUX_BH_H > > +#include > #include > > #if defined(CONFIG_PREEMPT_RT) || defined(CONFIG_TRACE_IRQFLAGS) -- With Best Regards, Andy Shevchenko