Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp886435pxb; Wed, 27 Oct 2021 14:28:55 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz8d4MbSpfBkB6bU5gkHzieGDzq2YDBVKFdtyswbixQknwXhLnNHvBfhsTB7MTQ1DZsp2zw X-Received: by 2002:a05:6a00:1945:b0:44c:a955:35ea with SMTP id s5-20020a056a00194500b0044ca95535eamr127257pfk.85.1635370135583; Wed, 27 Oct 2021 14:28:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635370135; cv=none; d=google.com; s=arc-20160816; b=UoOp4/HSAfLY1z/UydJfYvlm3ZtNPP7rdiS5Gp5BON3ADAgC/XD+HKcH7tzjei5Q4K kL3Ts3wmYkM03sm3zpPl/DdNgdsVxH3RxainFpg3QY2u9uvAyKkDcL4TE5x5N1eDcm9j 8o7gF8vj9MPUhs1ozSgtzhUM2lJ1Yeg2TcHzzBa/1aGp/K/024L1majUFstrxsf8LQ3q tO1jaZfEdK6JPkNWSOwUfi9s+UaQQNwU/wC3bCaPxj6iDd61vOCgKlB4VfcvqDWTnvWV 8aORin3uu0aszZ9inYgvGwq4DXygegrl2NyLj9Xknv7Wx4mlh3KnnLsoisKRHw+OElTD 2Icw== 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=gK9s9MA8UGkZ2R+7usPsq/TRQq/WRHF7MwhhhQ8fAjY=; b=I0EnAc57DsHS6HGG3Xo0GfWu/k5vebgMVMG1eDwrAcUV7xigwnDJN7E22HDxzWi9Oq tdagoPvisEkrW+IvX4YzComsTLbBB9BBeTFZM6Y6XwJObzSk4sp2MenPpbRLNWjDmiPH 2axZmd8dQaP/ov8ktkyGlKZ6XPmk1mmA4ZzlZTDFvc3zJ9j4KOT016O+hczB9YcXTWHq m7j1uVLtR4aPXCFMTh3h+a8vNLHXHFiPLoIQskaqpLS3XIHY40aeH/rJtUjAGhfgt6Fa fdN6G5ByXmFO/YTbFKGt7jXhm6SNIJxN9pB3PwDXZFLhRhgRzaLAvQwYabo50JVMB2sV BNjw== 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 x3si1180633plo.430.2021.10.27.14.28.42; Wed, 27 Oct 2021 14:28:55 -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 S238086AbhJ0PNs (ORCPT + 97 others); Wed, 27 Oct 2021 11:13:48 -0400 Received: from mga02.intel.com ([134.134.136.20]:60999 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236709AbhJ0PNq (ORCPT ); Wed, 27 Oct 2021 11:13:46 -0400 X-IronPort-AV: E=McAfee;i="6200,9189,10150"; a="217355195" X-IronPort-AV: E=Sophos;i="5.87,187,1631602800"; d="scan'208";a="217355195" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Oct 2021 08:11:20 -0700 X-IronPort-AV: E=Sophos;i="5.87,187,1631602800"; d="scan'208";a="447582988" Received: from smile.fi.intel.com ([10.237.72.184]) by orsmga003-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Oct 2021 08:11:19 -0700 Received: from andy by smile.fi.intel.com with local (Exim 4.95) (envelope-from ) id 1mfkZv-001U9K-7f; Wed, 27 Oct 2021 18:10:59 +0300 Date: Wed, 27 Oct 2021 18:10:58 +0300 From: Andy Shevchenko To: Stephen Rothwell Cc: Rasmus Villemoes , 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> <20211018133538.2a0dec43@canb.auug.org.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20211018133538.2a0dec43@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 On Mon, Oct 18, 2021 at 01:35:38PM +1100, Stephen Rothwell wrote: > On Fri, 15 Oct 2021 16:14:56 +0300 Andy Shevchenko wrote: ... > Like this (on top of my previous fix - which I assume Andrew will > squash out of existence)? Andrew, can you incorporate this one, please? > From: Stephen Rothwell > Date: Mon, 18 Oct 2021 13:27:54 +1100 > Subject: [PATCH] kernel.h: split out instrcutions pointer accessors > > botton_half.h needs _THIS_IP_ to be standalone, so split that and _RET_IP_ > out from kernel.h into the new instruction_pointer.h. kernel.h directly > needs them, so include it there and replace the include of kernel.h with > this new file in bottom_half.h. > > Signed-off-by: Stephen Rothwell > --- > include/linux/bottom_half.h | 2 +- > include/linux/instruction_pointer.h | 8 ++++++++ > include/linux/kernel.h | 4 +--- > 3 files changed, 10 insertions(+), 4 deletions(-) > create mode 100644 include/linux/instruction_pointer.h > > diff --git a/include/linux/bottom_half.h b/include/linux/bottom_half.h > index 11d107d88d03..fc53e0ad56d9 100644 > --- a/include/linux/bottom_half.h > +++ b/include/linux/bottom_half.h > @@ -2,7 +2,7 @@ > #ifndef _LINUX_BH_H > #define _LINUX_BH_H > > -#include > +#include > #include > > #if defined(CONFIG_PREEMPT_RT) || defined(CONFIG_TRACE_IRQFLAGS) > diff --git a/include/linux/instruction_pointer.h b/include/linux/instruction_pointer.h > new file mode 100644 > index 000000000000..19e979425bda > --- /dev/null > +++ b/include/linux/instruction_pointer.h > @@ -0,0 +1,8 @@ > +/* SPDX-License-Identifier: GPL-2.0 */ > +#ifndef _LINUX_INSTRUCTION_POINTER_H > +#define _LINUX_INSTRUCTION_POINTER_H > + > +#define _RET_IP_ (unsigned long)__builtin_return_address(0) > +#define _THIS_IP_ ({ __label__ __here; __here: (unsigned long)&&__here; }) > + > +#enfif /* _LINUX_INSTRUCTION_POINTER_H */ > diff --git a/include/linux/kernel.h b/include/linux/kernel.h > index 973c61ff2ef9..be84ab369650 100644 > --- a/include/linux/kernel.h > +++ b/include/linux/kernel.h > @@ -20,6 +20,7 @@ > #include > #include > #include > +#include > #include > > #include > @@ -53,9 +54,6 @@ > } \ > ) > > -#define _RET_IP_ (unsigned long)__builtin_return_address(0) > -#define _THIS_IP_ ({ __label__ __here; __here: (unsigned long)&&__here; }) > - > /** > * upper_32_bits - return bits 32-63 of a number > * @n: the number we're accessing > -- > 2.33.0 -- With Best Regards, Andy Shevchenko