From nobody Thu Dec 18 07:50:35 2025 Received: from baptiste.telenet-ops.be (baptiste.telenet-ops.be [195.130.132.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 69966218AC4 for ; Thu, 5 Dec 2024 13:21:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.130.132.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733404863; cv=none; b=MCa5+EXeQQDdQK/L3Dum0sRJTGTQ/bjUrftsptW2gOe8X6IQ57ceJo5m/zhm7tf6/hlC9BZlRXHWOSSdOqExtgIG5X/tro/eVyoQPjPGZNZTfgvTBhGn7jdN7ubBwDYsO6lD1DQOUE8y147hXMao4jpxtnEKsFWjYf3U3TPVJaM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733404863; c=relaxed/simple; bh=LWGBEeoPaVubAD70KWG41MBjiyDfHkJO3zIb+snQZRs=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=RJKZQb5JDxVEYOf4f98s3iRfuZBhiNPJPgtnP0+mx+FfY/Uda72fLKc8Y+5nZFw1u48fRN34Ho+fw1IwCJ8NOhhJZPIjNPs096V8VtTrLINVRtNWVkzMBjGBb+gt1giEogfmQWwLNVeC5cKrWG1WPLyeqWQb748/eSsT6Tj+9Es= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be; spf=none smtp.mailfrom=linux-m68k.org; arc=none smtp.client-ip=195.130.132.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux-m68k.org Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed80:b16a:6561:fa1:2b32]) by baptiste.telenet-ops.be with cmsmtp id l1Lo2D00C3EEtj2011Lol1; Thu, 05 Dec 2024 14:20:53 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1tJBmh-000LQm-Hx; Thu, 05 Dec 2024 14:20:48 +0100 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1tJBmi-00EQdO-AH; Thu, 05 Dec 2024 14:20:48 +0100 From: Geert Uytterhoeven To: Oleg Nesterov , Arnd Bergmann , Yury Norov , Rasmus Villemoes , Andy Whitcroft , Joe Perches , Dwaipayan Ray , Lukas Bulwahn , Masahiro Yamada , Nathan Chancellor , Nicolas Schier Cc: linux-arch@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 1/3] checkpatch: Update reference to include/asm- Date: Thu, 5 Dec 2024 14:20:42 +0100 Message-Id: <2c4a75726a976d117055055b68a31c40dcab044e.1733404444.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" "include/asm-" was replaced by "arch//include/asm" a long time ago. Signed-off-by: Geert Uytterhoeven --- scripts/checkpatch.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 9eed3683ad76caff..dbb9c3c6fe30f906 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -2875,7 +2875,7 @@ sub process { =20 if ($realfile =3D~ m@^include/asm/@) { ERROR("MODIFIED_INCLUDE_ASM", - "do not modify files in include/asm, change architecture specifi= c files in include/asm-\n" . "$here$rawline\n"); + "do not modify files in include/asm, change architecture specifi= c files in arch//include/asm\n" . "$here$rawline\n"); } $found_file =3D 1; } --=20 2.34.1 From nobody Thu Dec 18 07:50:35 2025 Received: from laurent.telenet-ops.be (laurent.telenet-ops.be [195.130.137.89]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 08309218AB8 for ; Thu, 5 Dec 2024 13:20:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.130.137.89 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733404857; cv=none; b=mtCEckEDxi+ZyPlAbFPwoDQUntxdSJmtBaGkXYPJ3L8gEca1QyvawbAiZSFJSbeIi06WPr0S8V8nADfoov6Zq0nebSLpWHQdt5fVDAse2/xjcQqZ//PxLzsC6kTTcXXwKuT9sJRE5fEoaz5TEvtSWD1B51lBLO2BtTvyBqUkq0A= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733404857; c=relaxed/simple; bh=nysy/3YK1EuPFaum4/TbD/K8B3xCFjoGXHffLldvUOg=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=SqafpYMikxdaKmch627a8RkCSo+rRVo8mqZqv8vj2ExRm/G9jFkt7qseNYPQwaiazdSjHwdJy3+ol9vXsWZZ59kYZDjVOi3MUYVRqnTBko3HLvYnkbwJnPii+0ipG91WHpWe+X3Kc4y6UVx4a05wamiJNrzd9rDUIrtFnNA4DfY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be; spf=none smtp.mailfrom=linux-m68k.org; arc=none smtp.client-ip=195.130.137.89 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux-m68k.org Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed80:b16a:6561:fa1:2b32]) by laurent.telenet-ops.be with cmsmtp id l1Lo2D00E3EEtj2011LoH4; Thu, 05 Dec 2024 14:20:54 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1tJBmh-000LQo-IZ; Thu, 05 Dec 2024 14:20:48 +0100 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1tJBmi-00EQdR-B4; Thu, 05 Dec 2024 14:20:48 +0100 From: Geert Uytterhoeven To: Oleg Nesterov , Arnd Bergmann , Yury Norov , Rasmus Villemoes , Andy Whitcroft , Joe Perches , Dwaipayan Ray , Lukas Bulwahn , Masahiro Yamada , Nathan Chancellor , Nicolas Schier Cc: linux-arch@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 2/3] kbuild: Drop support for include/asm- in headers_check.pl Date: Thu, 5 Dec 2024 14:20:43 +0100 Message-Id: <19fb5b49396239d28020015ba2640d77dacdb6c2.1733404444.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" "include/asm-" was replaced by "arch//include/asm" a long time ago. All assembler header files are now included using "#include ", so there is no longer a need to rewrite paths. Signed-off-by: Geert Uytterhoeven --- usr/include/headers_check.pl | 4 ---- 1 file changed, 4 deletions(-) diff --git a/usr/include/headers_check.pl b/usr/include/headers_check.pl index b6aec5e4365f9bf2..7070c891ea294b4d 100755 --- a/usr/include/headers_check.pl +++ b/usr/include/headers_check.pl @@ -54,10 +54,6 @@ sub check_include my $inc =3D $1; my $found; $found =3D stat($dir . "/" . $inc); - if (!$found) { - $inc =3D~ s#asm/#asm-$arch/#; - $found =3D stat($dir . "/" . $inc); - } if (!$found) { printf STDERR "$filename:$lineno: included file '$inc' is not exported\= n"; $ret =3D 1; --=20 2.34.1 From nobody Thu Dec 18 07:50:35 2025 Received: from baptiste.telenet-ops.be (baptiste.telenet-ops.be [195.130.132.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 69A97218EA5 for ; Thu, 5 Dec 2024 13:21:01 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=195.130.132.51 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733404863; cv=none; b=kqYYiNPAOJG3dCjHw5S+3F3Hf8IKsMjnB/xuSS24dP3+ScdRTH1nxBKPGpqYNGGsrTmNUpq63Wz+QwGjHXmsabN9GHquie8BQx9HiAx8bdfYx21YYaoRAQ5ktiyThwE0+U7HU88AyU7qVxAQXkRbNPfzGLlvi9KYqSI5OAQHeg4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1733404863; c=relaxed/simple; bh=ouJue5tjFCDF8EpWHp3/+sWbDClK41wBU4/Q5wdnFyM=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=mUxwGPtypr7rv9piYyhsKOz8PeeNSkZj0fue07jiNP0USS0jVzVHi8+MmWypKq3zwW1OruSDAnHXjshzuN+yGuLHGzxhpzG21l0kgZoC6f04JTQR9qBmChUxLKVrtJeQgMvfaZZGfFqzRNvaJZ/vGheRTYgIvLrcMV+gVyfe7DE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be; spf=none smtp.mailfrom=linux-m68k.org; arc=none smtp.client-ip=195.130.132.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=glider.be Authentication-Results: smtp.subspace.kernel.org; spf=none smtp.mailfrom=linux-m68k.org Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed80:b16a:6561:fa1:2b32]) by baptiste.telenet-ops.be with cmsmtp id l1Lo2D00E3EEtj2011Lol3; Thu, 05 Dec 2024 14:20:53 +0100 Received: from rox.of.borg ([192.168.97.57]) by ramsan.of.borg with esmtp (Exim 4.95) (envelope-from ) id 1tJBmh-000LQu-JF; Thu, 05 Dec 2024 14:20:48 +0100 Received: from geert by rox.of.borg with local (Exim 4.95) (envelope-from ) id 1tJBmi-00EQdW-Bj; Thu, 05 Dec 2024 14:20:48 +0100 From: Geert Uytterhoeven To: Oleg Nesterov , Arnd Bergmann , Yury Norov , Rasmus Villemoes , Andy Whitcroft , Joe Perches , Dwaipayan Ray , Lukas Bulwahn , Masahiro Yamada , Nathan Chancellor , Nicolas Schier Cc: linux-arch@vger.kernel.org, linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 3/3] include: Update references to include/asm- Date: Thu, 5 Dec 2024 14:20:44 +0100 Message-Id: <541258219b0441fa1da890e2f8458a7ac18c2ef9.1733404444.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.34.1 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" "include/asm-" was replaced by "arch//include/asm" a long time ago. Signed-off-by: Geert Uytterhoeven --- include/asm-generic/syscall.h | 2 +- include/linux/bitmap.h | 2 +- include/linux/types.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/include/asm-generic/syscall.h b/include/asm-generic/syscall.h index 5a80fe728dc8b6e1..182b039ce5fa100c 100644 --- a/include/asm-generic/syscall.h +++ b/include/asm-generic/syscall.h @@ -5,7 +5,7 @@ * Copyright (C) 2008-2009 Red Hat, Inc. All rights reserved. * * This file is a stub providing documentation for what functions - * asm-ARCH/syscall.h files need to define. Most arch definitions + * arch/ARCH/include/asm/syscall.h files need to define. Most arch defini= tions * will be simple inlines. * * All of these functions expect to be called with no locks, diff --git a/include/linux/bitmap.h b/include/linux/bitmap.h index 262b6596eca5eafe..2026953e2c4ed368 100644 --- a/include/linux/bitmap.h +++ b/include/linux/bitmap.h @@ -23,7 +23,7 @@ struct device; * * Function implementations generic to all architectures are in * lib/bitmap.c. Functions implementations that are architecture - * specific are in various include/asm-/bitops.h headers + * specific are in various arch//include/asm/bitops.h headers * and other arch/ specific files. * * See lib/bitmap.c for more details. diff --git a/include/linux/types.h b/include/linux/types.h index 2d7b9ae8714ce522..1c509ce8f7f616e1 100644 --- a/include/linux/types.h +++ b/include/linux/types.h @@ -43,7 +43,7 @@ typedef unsigned long uintptr_t; typedef long intptr_t; =20 #ifdef CONFIG_HAVE_UID16 -/* This is defined by include/asm-{arch}/posix_types.h */ +/* This is defined by arch/{arch}/include/asm/posix_types.h */ typedef __kernel_old_uid_t old_uid_t; typedef __kernel_old_gid_t old_gid_t; #endif /* CONFIG_UID16 */ --=20 2.34.1