From nobody Thu Jun 29 08:20:34 2023 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 4QsBGV6G50z4knh9; Thu, 29 Jun 2023 08:20:34 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QsBGV5Sybz3vK0; Thu, 29 Jun 2023 08:20:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688026834; 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=NDIKggNDxdKtAC/d7A5KM8gTWtmgPwi5FwrCDRBDCRo=; b=PCmCT8d5V8kA9f5uJal1ye0/63I01Pmo2ujD44bdVcixrsusbnXHHbG91mZk98Kd9KjBpm obcDvOykNdeaAP5D6slwIzB/yhpyB6rkXauu0UIiZyZOOm7TOSBJWVqyTqQStwYYtKrpp1 irUN+Q1WzOvWipeDFEd6ZrGwrmcjm+DE7JvbUdaq1VPLP31rjOqSNnmZMDUoSgKlxIhHxy gxqevxo2UtTa3tx1fMhDiXxiW4eYLapWPboHC5jAFUUk3ORkJk+fecBWMIV+sXuXx4H0Bk fR41hNAq/gJKe9gXJEbwMrCBG6phr5fPDZnq99FHJztDTpnY9sh8ZTMQXGhT3g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1688026834; 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=NDIKggNDxdKtAC/d7A5KM8gTWtmgPwi5FwrCDRBDCRo=; b=L4VFUECuh57e/aVVWxFAFieXl18N6fTiMELOzJOcRbWs0r+v81euM2rwWxg6jejdxM7Ma8 SWITFmC9shsUqnDxlkpaFZucmzsvCMb1Z1Q4TS/iEwUorb5CDt7dQNodRUNhXbp6d9rS8R wZA1Onrpl+pUvShmJ+uw3D22Cq6KeBm/qe2y4bOil5uUSlTh/82p+udf/x9RMz7T2wykpA cx8fzlPHGIQGYSEyImWA0l+6T3gdbZyKc9PgPr5rl7+8pGB1JqBuLg1QwPnrLH7FML8RY2 VQxka9yuRq6GPRbKouSXS6gQKxkYhS8hADst3OUyxB0S+RCLAe+LxKKwXUvQow== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688026834; a=rsa-sha256; cv=none; b=eYhCV0VuwYmlNiJuYMYs5lofPuFLqqXHX5oqdehh3IuN+1mnMEs6lS0d25VYCPM9Uunh6X eSQtsBLEQeRQHN7Z3ert9678JqvzRg/9L0hdqxYdzfRqr2XGXzJbxVs1FGsb3V4CTF4Y2l yKIuvbC7UGhXNN/NhrclTx9WRAIyFzLlv1V2o1q4e/WSlsUntE9HVFDOUY9RJosCfViXe2 8DhnxkwivVMLJVzWVI2a2A8/qBJht/BnJiJsXO6DNBGGFISsOmeyBhXTPaoLLfHHTQRtbT NaNDj916O5sr06tw2cT/HOcMcqeyWPxaHgcYZp8+la8dDLSo+PaFUUX8ho6lww== 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 4QsBGV4TCRz1832; Thu, 29 Jun 2023 08:20:34 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 35T8KY0D083740; Thu, 29 Jun 2023 08:20:34 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 35T8KYN3083729; Thu, 29 Jun 2023 08:20:34 GMT (envelope-from git) Date: Thu, 29 Jun 2023 08:20:34 GMT Message-Id: <202306290820.35T8KYN3083729@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Dmitry Chagin Subject: git: cdae95d79825 - stable/13 - linux(4): Move linux_debug decalration to linux_util.h 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: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dchagin X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: cdae95d7982553ebf902df42787d20cc9273c3de Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=cdae95d7982553ebf902df42787d20cc9273c3de commit cdae95d7982553ebf902df42787d20cc9273c3de Author: Dmitry Chagin AuthorDate: 2023-05-18 16:58:23 +0000 Commit: Dmitry Chagin CommitDate: 2023-06-29 08:15:58 +0000 linux(4): Move linux_debug decalration to linux_util.h To avoid inclusion of linux_mib.h with linux_util.h in cases where we need rate limiting macro. MFC after: 1 week (cherry picked from commit 38a137f416203494f183cb2b309524102680105e) --- sys/compat/linux/linux_mib.h | 1 - sys/compat/linux/linux_util.h | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/compat/linux/linux_mib.h b/sys/compat/linux/linux_mib.h index 5902f523dfee..4d7f32a55646 100644 --- a/sys/compat/linux/linux_mib.h +++ b/sys/compat/linux/linux_mib.h @@ -57,7 +57,6 @@ int linux_kernver(struct thread *td); #define LINUX_XKERNVERSTR(x) LINUX_KERNVERSTR(x) #define LINUX_VERSION_STR LINUX_XKERNVERSTR(LINUX_KVERSION.LINUX_KPATCHLEVEL.LINUX_KSUBLEVEL) -extern int linux_debug; extern int linux_default_openfiles; extern int linux_default_stacksize; extern int linux_dummy_rlimits; diff --git a/sys/compat/linux/linux_util.h b/sys/compat/linux/linux_util.h index f61aeea99136..bd364e61e90f 100644 --- a/sys/compat/linux/linux_util.h +++ b/sys/compat/linux/linux_util.h @@ -38,6 +38,8 @@ #include +extern int linux_debug; + MALLOC_DECLARE(M_LINUX); MALLOC_DECLARE(M_EPOLL);