Received: by 2002:a05:7412:a986:b0:f9:90c9:de9f with SMTP id o6csp37392rdh; Wed, 20 Dec 2023 13:42:53 -0800 (PST) X-Google-Smtp-Source: AGHT+IHyHnpZiBvl+ghEG1Hopa3v3B9l/kDdb02Zcq92Waml/2CU3Jw2wQ0avVGLDeWTICBfA+wS X-Received: by 2002:a17:902:da8f:b0:1d3:f1f5:12c8 with SMTP id j15-20020a170902da8f00b001d3f1f512c8mr1514849plx.29.1703108572793; Wed, 20 Dec 2023 13:42:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1703108572; cv=none; d=google.com; s=arc-20160816; b=F0D29gc9AxDc8r4vvXGhhVpAtly0fYGDmV3hevBdg2mzvBaQsz/uWREUeFhlbxgqGI Puji4ghVI4y6SAGtkdW/6KKpdRZ4D0XysuaZ3jstjEqaNNG/RuPzhU1IXK5R7qheNk1H tys/8CSx0PejbdW0Iyrcb96nYnMiivzvLgviGEuQvaThyhYOPp5b7r0sjEZBQDE7Ywue PZWrXSesfk5gHQFX71YhySol4RFtMxu3mOT1eJwlo57D759ERWcqu2WhbMPrg2MXRdt6 kEPk8yGW890vuMcG1z3uUyuEFHLSl2a4Ckq8eH3Bb+HmrI2hCjI2XS7A2qKqDbjlo6Pn vVqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:message-id:subject:cc:to:from:dkim-signature:date; bh=9MKJBECd4R8njoEhQpBoXguZPfsz8RJrc1vVZeI2+VE=; fh=sQ7kcCO12N19jAZTR042I9BOom9gJQyk4xuqPP5R/hM=; b=c4wp9FlJT0g8OoscShhoYN7K9s7wnlT0uqxLp0zbZ3ycSApfJQD0jCv32HGPWJ+kQB dIRoakSELXXdJNfSPYCkb3UFNQrusGEuQAWVNciJM62wqaolx9D6IQDuSCXoYLmG8BxE /GsTSqvdoWjFmQPzS0hNoCbril64RaULCORRYdwJBpDB4XmOSCvTrTd4Zp+rJ4MuhEaL 9jeUB5TCaz4dUzacW+JBpwLLxWK/1+5hQaLahjmYM962lJesx/dvvN6ElImNTRnosjsi dO+fOlqMo89DVMV/4Cr3gXJa5udavZKMMWdtAyVmgBOW5psXCj3AgDlN6datc6fVIc5b 8rQA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=hAMfVIdA; spf=pass (google.com: domain of linux-kernel+bounces-7475-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7475-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id h5-20020a170902748500b001d3ed10c3c7si299261pll.196.2023.12.20.13.42.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Dec 2023 13:42:52 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-7475-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linux.dev header.s=key1 header.b=hAMfVIdA; spf=pass (google.com: domain of linux-kernel+bounces-7475-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-7475-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linux.dev Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id A4560287657 for ; Wed, 20 Dec 2023 21:42:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3D8394B5B8; Wed, 20 Dec 2023 21:40:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="hAMfVIdA" X-Original-To: linux-kernel@vger.kernel.org Received: from out-181.mta1.migadu.com (out-181.mta1.migadu.com [95.215.58.181]) (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 E585E49F7B for ; Wed, 20 Dec 2023 21:40:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Date: Wed, 20 Dec 2023 16:39:57 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1703108402; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=9MKJBECd4R8njoEhQpBoXguZPfsz8RJrc1vVZeI2+VE=; b=hAMfVIdAcvKAqpVeEmLbf794s30T+d2XRrj0W3ZmVnnDFQOyAgAcVKoz2+E8Bri27NJT3i R6rqYna2x1MEHOkr1ifi42C0N61Fj7ic4zkL//pKIN20NgjeEVzs69DE1aUNcG+xJpKm6J PwTTmScxncX2W0xDyH03mhGmmhCdHXQ= X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Kent Overstreet To: Geert Uytterhoeven Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, tglx@linutronix.de, x86@kernel.org, tj@kernel.org, peterz@infradead.org, mathieu.desnoyers@efficios.com, paulmck@kernel.org, keescook@chromium.org, dave.hansen@linux.intel.com, mingo@redhat.com, will@kernel.org, longman@redhat.com, boqun.feng@gmail.com, brauner@kernel.org Subject: Re: [PATCH 50/50] Kill sched.h dependency on rcupdate.h Message-ID: <20231220213957.zbslehrx4zkkbabq@moria.home.lan> References: <20231216024834.3510073-1-kent.overstreet@linux.dev> <20231216033552.3553579-1-kent.overstreet@linux.dev> <20231216033552.3553579-7-kent.overstreet@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Migadu-Flow: FLOW_OUT On Wed, Dec 20, 2023 at 12:59:44PM +0100, Geert Uytterhoeven wrote: > Hi Kent, > > On Sat, Dec 16, 2023 at 4:39 AM Kent Overstreet > wrote: > > by moving cond_resched_rcu() to rcupdate.h, we can kill another big > > sched.h dependency. > > > > Signed-off-by: Kent Overstreet > > Thanks for your patch, which is now commit dc00f26faea81dc0 ("Kill > sched.h dependency on rcupdate.h") in next-20231220. > > Reported-by: noreply@ellerman.id.au > > $ make ARCH=m68k defconfig arch/m68k/kernel/asm-offsets.i > *** Default configuration is based on 'multi_defconfig' > # > # No change to .config > # > UPD include/config/kernel.release > UPD include/generated/utsrelease.h > CC arch/m68k/kernel/asm-offsets.s > In file included from ./include/asm-generic/bug.h:7, > from ./arch/m68k/include/asm/bug.h:32, > from ./include/linux/bug.h:5, > from ./include/linux/thread_info.h:13, > from ./arch/m68k/include/asm/processor.h:11, > from ./include/linux/sched.h:13, > from arch/m68k/kernel/asm-offsets.c:15: > ./arch/m68k/include/asm/processor.h: In function ‘set_fc’: > ./arch/m68k/include/asm/processor.h:91:15: error: implicit declaration > of function ‘in_interrupt’ [-Werror=implicit-function-declaration] > 91 | WARN_ON_ONCE(in_interrupt()); > | ^~~~~~~~~~~~ > ./include/linux/once_lite.h:28:27: note: in definition of macro > ‘DO_ONCE_LITE_IF’ > 28 | bool __ret_do_once = !!(condition); \ > | ^~~~~~~~~ > ./arch/m68k/include/asm/processor.h:91:2: note: in expansion of macro > ‘WARN_ON_ONCE’ > 91 | WARN_ON_ONCE(in_interrupt()); > | ^~~~~~~~~~~~ > cc1: some warnings being treated as errors > make[3]: *** [scripts/Makefile.build:116: > arch/m68k/kernel/asm-offsets.s] Error 1 > make[2]: *** [Makefile:1191: prepare0] Error 2 > make[1]: *** [Makefile:350: __build_one_by_one] Error 2 > make: *** [Makefile:234: __sub-make] Error 2 Applying this fix: commit 0d7bdfe9726b275c7e9398047763a144c790b575 Author: Kent Overstreet Date: Wed Dec 20 16:39:21 2023 -0500 m68k: Fix missing include Signed-off-by: Kent Overstreet diff --git a/arch/m68k/include/asm/processor.h b/arch/m68k/include/asm/processor.h index 7a2da780830b..8f2676c3a988 100644 --- a/arch/m68k/include/asm/processor.h +++ b/arch/m68k/include/asm/processor.h @@ -8,6 +8,7 @@ #ifndef __ASM_M68K_PROCESSOR_H #define __ASM_M68K_PROCESSOR_H +#include #include #include #include