From nobody Thu Oct 17 09:16:46 2024 X-Original-To: dev-commits-src-branches@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 4XThzf51mCz5Yld5; Thu, 17 Oct 2024 09:16:46 +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 4XThzf3brQz4HZN; Thu, 17 Oct 2024 09:16:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729156606; 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=Rs3/kCuKg2+4ITUgp8cyV858OY+/YRtvbKLQRab7/i0=; b=axII1X2E4SVe7rWWYI+EkURx8QhQKe42fRguedCGOIEzUem2tBtbhRqkXprSlzbqG5v/+1 kMSgNKdO9suakTB5TnzAQUNBQL8B9zk+Mi92qHFdaHlnCcGF9L6c9CvykXdCKzXvziQZhy xpGEm6NN5wf4lW1NJag0diVtckzn50n3ZcWfnyXg6z4dnl48z2gB73PQJqf9YC4hl07aa+ XvXvM45yFqSNTw4lqDgbYpZIu46oSq8MMjiKykYoEAcmAFpokHfB0fcOID5oCXiPfI5XOO qouye6a3CrLTUaPIu7LuIW6AhuD/bh9MF5lciayK+el4QYWG91SdHLSAVlm/Dw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1729156606; 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=Rs3/kCuKg2+4ITUgp8cyV858OY+/YRtvbKLQRab7/i0=; b=GbqfvMHdNPLnppQJLh75rpK0cxw2vBEA0Q3E1wsoTjG8imyuveJsGg88H9yOAfBL5XdWZH SO8IwemlU52+PLYPFLCIZVKvzV+BsdbKsf3kyebHjWhmfy47zeAJy/a4X270Sr8jWgLF4B WEoWmNzZ6IYLdwjnmU+b5DvOQUcVE6z4y4pfg0I9DsGWSP/DgsrqgCszzt4PQVmuhtAdtM CJ7AH56CpYResp89J4EOxQkP0eNGjALkR/KXSMk7H/cqT+MBGjIrOWD/5hlxIDaX5EB2CM IeaLPLJJhEcb1Px0dF95u/Bwl/ZffG288S615k5f63U/uG1WrZHx0BK/HPIeaw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1729156606; a=rsa-sha256; cv=none; b=rBM6rKnRkCTtCbasV1gtEDG+68KeotPEe54ID+sDmGPsp4B4vRGm7pIL5/1eOtDdrTMKZi ksZ9re2+rtYVFB8CnPMV1oBfFngvhVZYNSJOFU16sD6bY5+TavYTyO/qmI2FvK1FeqPWen F55069sUTCl5UyJd1j9sGu5aFk91lpPYasDIzYGCUr8g0rophTl+P5japJPGA1OODZ5kWT 2Iu+wFP8I9vEW8onlUiAfze1F1KdUkuYBYAfpE0c9iULY4zF1iSah+gSGAbpUuZ4/x3odq wC9XO9YhKS4NbNzuP6hxyrTOZknG9PVwOuIp9jejnyOphLrJS6Ij+UBhOAwB+w== 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 4XThzf2dh1zkcL; Thu, 17 Oct 2024 09:16:46 +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 49H9GkaT087675; Thu, 17 Oct 2024 09:16:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 49H9Gkgx087672; Thu, 17 Oct 2024 09:16:46 GMT (envelope-from git) Date: Thu, 17 Oct 2024 09:16:46 GMT Message-Id: <202410170916.49H9Gkgx087672@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: "Bjoern A. Zeeb" Subject: git: 080484840344 - stable/14 - LinuxKPI: add time_is_before_jiffies() List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-branches@freebsd.org Sender: owner-dev-commits-src-branches@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/stable/14 X-Git-Reftype: branch X-Git-Commit: 080484840344fbf243b67f2541bb3be296679a8b Auto-Submitted: auto-generated The branch stable/14 has been updated by bz: URL: https://cgit.FreeBSD.org/src/commit/?id=080484840344fbf243b67f2541bb3be296679a8b commit 080484840344fbf243b67f2541bb3be296679a8b Author: Bjoern A. Zeeb AuthorDate: 2024-09-28 22:32:03 +0000 Commit: Bjoern A. Zeeb CommitDate: 2024-10-16 21:49:40 +0000 LinuxKPI: add time_is_before_jiffies() Add time_is_before_jiffies() as needed by iwlwifi from v6.11. Sponsored by: The FreeBSD Foundation Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D46841 (cherry picked from commit 8f9567628cb2ccb335640c4bb044df2ebf45d83a) --- 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