Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 09BB2C433F5 for ; Thu, 11 Nov 2021 02:51:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E077A6103C for ; Thu, 11 Nov 2021 02:51:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234545AbhKKCyh (ORCPT ); Wed, 10 Nov 2021 21:54:37 -0500 Received: from mail.kernel.org ([198.145.29.99]:58308 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232020AbhKKCyg (ORCPT ); Wed, 10 Nov 2021 21:54:36 -0500 Received: by mail.kernel.org (Postfix) with ESMTPSA id 7E2D2610A2; Thu, 11 Nov 2021 02:51:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1636599108; bh=D5qfypbyI9jv102vuAkrcbDLjPYsR9yMFLNMa9Kccj8=; h=Date:From:To:Subject:From; b=DDsi7t7828D53O/HXDIy/p1nQhiVFJ2+bb9HM/D01ekAWx2xvjw7DlQIrwqGK8EoG RbNpGUnkZmUKfIA7+6peypJT0YbejTKSrmtcnLZ8BIQ9b1i0ptHp+1Im+e9lVZPPnC 3iEF+nrI3QYjZN/m8y2HStcZVmQh8LHGVYpHUHSo= Date: Wed, 10 Nov 2021 18:51:48 -0800 From: akpm@linux-foundation.org To: andriy.shevchenko@linux.intel.com, mm-commits@vger.kernel.org, sfr@canb.auug.org.au Subject: [merged] kernelh-split-out-instruction-pointer-accessors.patch removed from -mm tree Message-ID: <20211111025148.XvapHVQ_k%akpm@linux-foundation.org> User-Agent: s-nail v14.8.16 Precedence: bulk Reply-To: linux-kernel@vger.kernel.org List-ID: X-Mailing-List: mm-commits@vger.kernel.org The patch titled Subject: kernel.h: split out instruction pointer accessors has been removed from the -mm tree. Its filename was kernelh-split-out-instruction-pointer-accessors.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ From: Stephen Rothwell Subject: kernel.h: split out instruction pointer accessors bottom_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. Link: https://lkml.kernel.org/r/20211028161248.45232-1-andriy.shevchenko@linux.intel.com Signed-off-by: Stephen Rothwell Signed-off-by: Andy Shevchenko Signed-off-by: Andrew Morton --- include/linux/bottom_half.h | 2 +- include/linux/instruction_pointer.h | 8 ++++++++ include/linux/kernel.h | 4 +--- 3 files changed, 10 insertions(+), 4 deletions(-) --- a/include/linux/bottom_half.h~kernelh-split-out-instruction-pointer-accessors +++ a/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) --- /dev/null +++ a/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; }) + +#endif /* _LINUX_INSTRUCTION_POINTER_H */ --- a/include/linux/kernel.h~kernelh-split-out-instruction-pointer-accessors +++ a/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 _ Patches currently in -mm which might be from sfr@canb.auug.org.au are