From nobody Sun Feb 8 22:49:09 2026 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B462934A3C1 for ; Wed, 22 Oct 2025 12:52:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.142.43.55 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761137540; cv=none; b=KpfVrMmfsPHpaoZ4uv7/eOUhIbF8cPcbFFOlPHvbaCribUz3j8weMd4GXrlAySDFSKg69U8OYKAWOe4vEqFbsM5ri8e+NOyU3lluqbbx0WH4ikhLoe9DrntWIn39rqAe/T/HAoFQJh6aQ4SQM1v+sdQawxcNfXaPKnS7Vc8ZBeg= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1761137540; c=relaxed/simple; bh=Lb/w3BhjRzrsXCvCUDFGzCIOxidEz3RzuOjuQTkrykE=; h=Message-ID:From:To:Cc:Subject:References:MIME-Version: Content-Type:Date; b=XiUG0Ap9GHxHRK8PNRCXcH9eZU0ofaiqjiCeiAJxkln/iH3K2CMZQCeEZT18wZ7ubSATxVrbKOoOBbtvc3r81Km/8492d3zYDx6DfbfRz3vrlWMPDnVvbFNkqEFAYgsuaMud9x/Y3b6zFIl4ovPz+vWdid1B/j3DZiw1CZz8Uho= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de; spf=pass smtp.mailfrom=linutronix.de; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=se+fKeZY; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b=9HWHhaQP; arc=none smtp.client-ip=193.142.43.55 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linutronix.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linutronix.de Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="se+fKeZY"; dkim=permerror (0-bit key) header.d=linutronix.de header.i=@linutronix.de header.b="9HWHhaQP" Message-ID: <20251022121942.026509638@linutronix.de> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1761137533; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: references:references; bh=mhjj3z5Xu0lm96OOzRXu+oa1LeUseXOmoNzKxGmeiPM=; b=se+fKeZYh6CiKlm8q6EV4z2qfKQDcGK6eDzBEwWGB+8FZ+Z+FwM0j7Yfkon6YBPf5bD1b4 BPqaDnPNKvD2MyqZMyRYupt3+g8pMrCl1yI7TP9uQCNDXy25VspNJLduQd0nFUunpxpH2L 4asHGvkc6hKnyzKnbXG2rXRT/+TRsVxpXIa1BYuTq7AuTqVgfEbawQKf9bsDXcFBsMGrlp JL1W8htgwHlbRRN9NxYTEV0ZPUgM0pZp568KFaOjQCNqMcnUicyni32BiTNExgrGiYy491 96fB+OFBcgIQs0Hvy8lmhFyx7ag22R2VohKNdjk7mIr1jthSFtMVTvY/XwIOdQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1761137533; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: references:references; bh=mhjj3z5Xu0lm96OOzRXu+oa1LeUseXOmoNzKxGmeiPM=; b=9HWHhaQPJ4hEsII10d60lksI+oc4a5WIUqSohXlOzCTlHd0gCQdCtjpNHbB1MFTZAlXpSY SDdaNZ6Dm67srtCQ== From: Thomas Gleixner To: LKML Cc: Michael Jeanson , Jens Axboe , Mathieu Desnoyers , Peter Zijlstra , "Paul E. McKenney" , x86@kernel.org, Sean Christopherson , Wei Liu Subject: [patch V5 10/31] entry: Cleanup header References: <20251022121836.019469732@linutronix.de> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Date: Wed, 22 Oct 2025 14:52:13 +0200 (CEST) Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Thomas Gleixner Cleanup the include ordering, kernel-doc and other trivialities before making further changes. Signed-off-by: Thomas Gleixner Reviewed-by: Mathieu Desnoyers --- include/linux/entry-common.h | 8 ++++---- include/linux/irq-entry-common.h | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) --- --- a/include/linux/entry-common.h +++ b/include/linux/entry-common.h @@ -3,11 +3,11 @@ #define __LINUX_ENTRYCOMMON_H =20 #include +#include #include +#include #include #include -#include -#include =20 #include #include @@ -37,6 +37,7 @@ SYSCALL_WORK_SYSCALL_AUDIT | \ SYSCALL_WORK_SYSCALL_USER_DISPATCH | \ ARCH_SYSCALL_WORK_ENTER) + #define SYSCALL_WORK_EXIT (SYSCALL_WORK_SYSCALL_TRACEPOINT | \ SYSCALL_WORK_SYSCALL_TRACE | \ SYSCALL_WORK_SYSCALL_AUDIT | \ @@ -61,8 +62,7 @@ */ void syscall_enter_from_user_mode_prepare(struct pt_regs *regs); =20 -long syscall_trace_enter(struct pt_regs *regs, long syscall, - unsigned long work); +long syscall_trace_enter(struct pt_regs *regs, long syscall, unsigned long= work); =20 /** * syscall_enter_from_user_mode_work - Check and handle work before invoki= ng --- a/include/linux/irq-entry-common.h +++ b/include/linux/irq-entry-common.h @@ -68,6 +68,7 @@ static __always_inline bool arch_in_rcu_ =20 /** * enter_from_user_mode - Establish state when coming from user mode + * @regs: Pointer to currents pt_regs * * Syscall/interrupt entry disables interrupts, but user mode is traced as * interrupts enabled. Also with NO_HZ_FULL RCU might be idle. @@ -357,6 +358,7 @@ irqentry_state_t noinstr irqentry_enter( * Conditional reschedule with additional sanity checks. */ void raw_irqentry_exit_cond_resched(void); + #ifdef CONFIG_PREEMPT_DYNAMIC #if defined(CONFIG_HAVE_PREEMPT_DYNAMIC_CALL) #define irqentry_exit_cond_resched_dynamic_enabled raw_irqentry_exit_cond_= resched