| Message ID | 20260121220857.2137568-20-sjg@u-boot.org |
|---|---|
| State | New |
| Headers |
Return-Path: <concept-bounces+u-boot-concept=u-boot.org@u-boot.org> X-Original-To: u-boot-concept@u-boot.org Delivered-To: u-boot-concept@u-boot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1769033427; bh=SE20nOfBN0oVw0lekMPgVkZlJHJ2f//Y51pvn2tWkKk=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=mQ+XpypQZGH7zKQd1mZesj3E3JCdlzA1O+tbdhdCoNLyKNUGPRVtRkMHHW4o5COff UBKX8sGA+B2scg6pRakeBoskTjCGCUGKxYamQuxJc5x9p6jyUDWUcwylxwqcOwHpiD 3fRiaOAEqPA1k5TctPFvTmVByEUz/egAbn6sFFo7VA3Gq0p2EkO+KUfDQG+zvgWDTg HEb1Aim8zdOzh8PVx6B8C5o+rvPuTTYZ+xsPl1TVPgU7t3NjqPgrXEUqXmXuCpa6g8 18sfZ4ZwtIIhRkIIfVELBwn+7u5x1rXFrCTreVR6ZviLC0GagQLWyFy+BJ/8Xrzc1h Jn4xBj5meHXjQ== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id AB23869605 for <u-boot-concept@u-boot.org>; Wed, 21 Jan 2026 15:10:27 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10024) with ESMTP id 67wXUE3e6sNR for <u-boot-concept@u-boot.org>; Wed, 21 Jan 2026 15:10:27 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1769033427; bh=SE20nOfBN0oVw0lekMPgVkZlJHJ2f//Y51pvn2tWkKk=; h=From:To:Date:In-Reply-To:References:CC:Subject:List-Id: List-Archive:List-Help:List-Owner:List-Post:List-Subscribe: List-Unsubscribe:From; b=mQ+XpypQZGH7zKQd1mZesj3E3JCdlzA1O+tbdhdCoNLyKNUGPRVtRkMHHW4o5COff UBKX8sGA+B2scg6pRakeBoskTjCGCUGKxYamQuxJc5x9p6jyUDWUcwylxwqcOwHpiD 3fRiaOAEqPA1k5TctPFvTmVByEUz/egAbn6sFFo7VA3Gq0p2EkO+KUfDQG+zvgWDTg HEb1Aim8zdOzh8PVx6B8C5o+rvPuTTYZ+xsPl1TVPgU7t3NjqPgrXEUqXmXuCpa6g8 18sfZ4ZwtIIhRkIIfVELBwn+7u5x1rXFrCTreVR6ZviLC0GagQLWyFy+BJ/8Xrzc1h Jn4xBj5meHXjQ== Received: from mail.u-boot.org (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 9A54A695FB for <u-boot-concept@u-boot.org>; Wed, 21 Jan 2026 15:10:27 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1769033425; bh=36S7EBy+OWjYmnBe1A4mETQmG4Xx+WeK/HJF0gjg+q8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=tJWdJQUBRsheIkMDRywyKLcfMjnIH/3QFGaq3MVgrkUKnpvBW2hFsRQAiiK07zRGR up0p8ZGS2VDCpVVcHmpesJGPk4N1KgepiF+CiYA8UTatWEsJrYLeVY9tDgttsygOts tScwaYoOgVldT867NAJ2LHwQb++PrxmaUakFE2Nhm6dw4qlL5x57R7tmtP6QJ4T4j3 L/ewVCk92BqV4sPAkahRzsBVOo5G2zA4CsMGzqaz2KL9V1U8Uwo5Nbu3ZLplJ3Mxwp XhIIziF6tiVsqtKLDsL+EdvAbzQkwv5AmQ9aZXUxaFFMFvibbpdo6ZwM2mZ6hCKTxJ hXJBHjOEO5FFg== Received: from localhost (localhost [127.0.0.1]) by mail.u-boot.org (Postfix) with ESMTP id 4555F695FB; Wed, 21 Jan 2026 15:10:25 -0700 (MST) X-Virus-Scanned: Debian amavis at Received: from mail.u-boot.org ([127.0.0.1]) by localhost (mail.u-boot.org [127.0.0.1]) (amavis, port 10026) with ESMTP id MHGRsc43lmY1; Wed, 21 Jan 2026 15:10:25 -0700 (MST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=u-boot.org; s=default; t=1769033420; bh=jZS4G8nzRX/yQJ0lLIvYb84StZrp7vidw5ETwKpIjr4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=UPOMBHI6lPUicSp7HGEEjFU2ChmipzMJuJMn5T61mC6+miaP1x5LVV80ReJP0MZDI 0TScCR8crAnw//Kv0GEfK32PDSh+4uMDEQwbHwwYiygH+nyRvMXKHH7QdMW5B0hgL6 y0j0RZMyaDS4Ld7l0dYrnYsl4IjSeqeRlJ3cuvox1Ur+S5YqfRxbRByB8h7DUFiNtU C9aW+AnapujXXGcwMKhF/V5zwBoNdugrHhvCqIvjYgA2n5S+IURyOU/nj7Sf/uLilg SuJpbh//NpzpvmONhrWeJZ6pXmMVS+9p1R+4gpFriZWz1ZDANE0bUzd/eimsXkF9qx KdWL/LpcKpxfQ== Received: from u-boot.org (unknown [73.34.74.121]) by mail.u-boot.org (Postfix) with ESMTPSA id 3EC0C695F7; Wed, 21 Jan 2026 15:10:20 -0700 (MST) From: Simon Glass <sjg@u-boot.org> To: U-Boot Concept <concept@u-boot.org> Date: Wed, 21 Jan 2026 15:08:32 -0700 Message-ID: <20260121220857.2137568-20-sjg@u-boot.org> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20260121220857.2137568-1-sjg@u-boot.org> References: <20260121220857.2137568-1-sjg@u-boot.org> MIME-Version: 1.0 Message-ID-Hash: 7HZ3FDRHSIINHMT4GN6XSYFOYYI7TPQX X-Message-ID-Hash: 7HZ3FDRHSIINHMT4GN6XSYFOYYI7TPQX X-MailFrom: sjg@u-boot.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header CC: Simon Glass <simon.glass@canonical.com>, "Claude Opus 4 . 5" <noreply@anthropic.com> X-Mailman-Version: 3.3.10 Precedence: list Subject: [Concept] [PATCH 19/33] ext4l: Move time_is_before_jiffies() to linux/jiffies.h List-Id: Discussion and patches related to U-Boot Concept <concept.u-boot.org> Archived-At: <https://lists.u-boot.org/archives/list/concept@u-boot.org/message/7HZ3FDRHSIINHMT4GN6XSYFOYYI7TPQX/> List-Archive: <https://lists.u-boot.org/archives/list/concept@u-boot.org/> List-Help: <mailto:concept-request@u-boot.org?subject=help> List-Owner: <mailto:concept-owner@u-boot.org> List-Post: <mailto:concept@u-boot.org> List-Subscribe: <mailto:concept-join@u-boot.org> List-Unsubscribe: <mailto:concept-leave@u-boot.org> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit |
| Series |
Reorganise ext4l compatibility stubs
|
|
Commit Message
Simon Glass
Jan. 21, 2026, 10:08 p.m. UTC
From: Simon Glass <simon.glass@canonical.com> Move the time_is_before_jiffies() stub macro to linux/jiffies.h where other jiffies-related definitions reside. This reduces ext4_uboot.h from 468 to 465 lines. Co-developed-by: Claude Opus 4.5 <noreply@anthropic.com> Signed-off-by: Simon Glass <simon.glass@canonical.com> --- fs/ext4l/ext4_uboot.h | 3 --- include/linux/jiffies.h | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/fs/ext4l/ext4_uboot.h b/fs/ext4l/ext4_uboot.h index 1228ced8e6c..9229fc7ffc3 100644 --- a/fs/ext4l/ext4_uboot.h +++ b/fs/ext4l/ext4_uboot.h @@ -448,9 +448,6 @@ struct disk_partition *ext4l_get_partition(void); * Stubs for resize.c */ -/* time_is_before_jiffies - check if time is before current jiffies */ -#define time_is_before_jiffies(a) ({ (void)(a); 0; }) - /* ext4_update_overhead - declaration for stub.c */ int ext4_update_overhead(struct super_block *sb, bool force); diff --git a/include/linux/jiffies.h b/include/linux/jiffies.h index 153a2841bf5..161ec56f688 100644 --- a/include/linux/jiffies.h +++ b/include/linux/jiffies.h @@ -29,4 +29,7 @@ #define nsecs_to_jiffies(ns) ((ns) / (1000000000L / HZ)) #define round_jiffies_up(j) (j) +/* Time comparison - stub for U-Boot (jiffies is always 0) */ +#define time_is_before_jiffies(a) ({ (void)(a); 0; }) + #endif /* _LINUX_JIFFIES_H */