From nobody Fri Oct 11 20:50:09 2024 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4XQJfV0j9bz5ZP8v; Fri, 11 Oct 2024 20:50:10 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XQJfV05cyz4HgM; Fri, 11 Oct 2024 20:50:10 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728679810; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=wGOXQI1XIIBasHFvEKWuhVf9Mg3M5NdqTHN9dvAARak=; b=CxJyid5D9YA7rDDiEraxLwO6hUQDlxnDPGecWUy+e/McISaUhW6cPc30NAkWJCN3UAnzN4 lzca4yymHwU7jE2Uo8rOn/xNS/pRxptuLkkyOGhSdFl4cLg3sKhr6b5Z+rZGRAYBzhbIMZ MNFJ/1zRNcRdiDuewqGXo8qtdYlp+61XtUbRSlgegyYWYokndyEEVmTiQeoixweg0s/hhZ iFpe7pdCMEdMagreXSQEodN9tJyMNOi4QiWmLDPsB0USDKf133R9+nfNbXlyDWDVpivX+J dWO/YAicYGIBk95SgjV/6CFTbERD5P0sdXjl7/mFXqUhBbD8fyJhVLS0Aiv3Fg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1728679810; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=wGOXQI1XIIBasHFvEKWuhVf9Mg3M5NdqTHN9dvAARak=; b=f4MOdhF8umxT9JUbntMdsBpmspSE6jVFVyurpziIlZkwAIKxFyKUmogco8wN5Q5m1LfEBF 6aPezpfHm/X3t0XVIoIIysWjee4BFzDjiLoY9oLo37aQMNz8ICQOnzZ3oPVNsIiPn6OMyY OpygNIj2is9nDet5vULKfLKQkKirzFQzn4nbjm9Ph1xe5dRd/oAwUcx/KXTC0NfCTYujcY LellnOJ4PEvN0Vw9uGwuyYfWHQwdWTHjTAQtTo1TM2fthZosuLZLmefC9RSEfYaAMdFsDy E+2p6fK+LUmE9c3i5ewv4H8Vs2XXENbunIUIclpRIAe3COv9lCrgf05hudx2AQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1728679810; a=rsa-sha256; cv=none; b=GhDnt6ZfAfqfAA/XErp4UqNRGMeHcMLlvm4nTgTYMWEJ+eUc3ACaNFeQ8D/yxF0m55gfyj k+gAqt9UmHtgl1G7x/XF9WqYjI+bVr6u4RqXoux5uuWr0k0oOuWB85Nz5JTybr6M+ZHWW1 FCDyW77R2i8hpHds7ko3vZ1E7n785zDzvfSMuf4NDtHRB3fwb436W9wiAlChnS3urqVnvp a0VR4LChGo5TFQ94PGua/nUHhjE3uigqpN4EyDQbbzQK6AMO1gCh8wRaBcml9ZH2Da8if5 Q0JzB5KHrXkBi7QQgQDxPkjy5nj0/7AaR0AYIvAiUVhxptihZJfhz463a+k54A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4XQJfT6pZczwkc; Fri, 11 Oct 2024 20:50:09 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 49BKo9T1086154; Fri, 11 Oct 2024 20:50:09 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49BKo9HB086145; Fri, 11 Oct 2024 20:50:09 GMT (envelope-from git) Date: Fri, 11 Oct 2024 20:50:09 GMT Message-Id: <202410112050.49BKo9HB086145@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: 8f9567628cb2 - main - LinuxKPI: add time_is_before_jiffies() List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-all@freebsd.org Sender: owner-dev-commits-src-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bz X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8f9567628cb2ccb335640c4bb044df2ebf45d83a Auto-Submitted: auto-generated The branch main has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=8f9567628cb2ccb335640c4bb044df2ebf45d83a commit 8f9567628cb2ccb335640c4bb044df2ebf45d83a Author: Bjoern A. Zeeb AuthorDate: 2024-09-28 22:32:03 +0000 Commit: Bjoern A. Zeeb CommitDate: 2024-10-11 20:48:58 +0000 LinuxKPI: add time_is_before_jiffies() Add time_is_before_jiffies() as needed by iwlwifi from v6.11. Sponsored by: The FreeBSD Foundation MFC after: 3 days Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D46841 --- sys/compat/linuxkpi/common/include/linux/jiffies.h | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/compat/linuxkpi/common/include/linux/jiffies.h b/sys/compat/linuxkpi/common/include/linux/jiffies.h index d5cb6e14860e..bd05a0db0767 100644 --- a/sys/compat/linuxkpi/common/include/linux/jiffies.h +++ b/sys/compat/linuxkpi/common/include/linux/jiffies.h @@ -52,6 +52,7 @@ (time_after_eq(a,b) && time_before_eq(a,c)) #define time_is_after_eq_jiffies(a) time_after_eq(a, jiffies) #define time_is_after_jiffies(a) time_after(a, jiffies) +#define time_is_before_jiffies(a) time_before(a, jiffies) #define HZ hz