From nobody Thu May 18 17:02:50 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 4QMbrW1wV4z4Bmq8; Thu, 18 May 2023 17:02:51 +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 4QMbrV6wn8z4VPw; Thu, 18 May 2023 17:02:50 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684429371; 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=HAalQNJJGEBsHldIoQvUX9QNAp2TEziCi2wwI4riUjk=; b=JDwzwsGpNyMBicYHpDQmd0n+ZC/Lc4iC3NUMbfIzuHcc6iiZr2lr1Wsqlyudd2mU0CASuk aFp4VRTVK9b+0CBtlKMH6YbC95PHEqfbugURecMn7m08odgBipDUFTd4s+Ev6u8ydXHaSw lhRaC+RzPQUzhmJ8I068Es4pPcOTqYOmed46Gsr+eq+jX/Sa15opAOa7AyrQPuqgT4tXBQ ivVHrKXIEoRfxdCtMWbGAZJtLzyv1l9Vy52+gT0y+2UEyjM26KGOSyKTYWFS6UL3KlaPsM q4eY/6kKWACm0zgOtYbhAD+cRgucQopo6VN7ID9z9unFYgkKOmw504MqgLXoxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684429371; 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=HAalQNJJGEBsHldIoQvUX9QNAp2TEziCi2wwI4riUjk=; b=M/N/NwavS/3ZuHTYhHyzPFUT26OCldpuD0udBzvndTq/qEzIMcDqk/K1zxuoulBT0ObKLB 0wTVI5QxN+bCu3VucurnjIiV54jWAN8DSAhWW5TByYGVidnKsCZI0gcYfP+MFO4ZHTsMkD mO5Jucmw192n84/TCRmQvgwh88MLOICEQ9msgGIG005hU/iykLdvky9AAt5Tshj47YfGPe S06Hdow8hngeV28L5ddrQ15BdP6uI+NaF7ndwNc6T9pymaef6H2af/zZPm4cS2nuN3vytm eNUhDkhcS8EsD5QtgGGxfS7fB7Ra18JbBO2TrWe8GaGiM084p3oEb6VKJy027g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684429371; a=rsa-sha256; cv=none; b=E36AV6hOu/Am3R+PEJSfsgDPpPUOZDNz42VFvcQyKgAFtIY2mp7IJDjQgkTQxwzpAHHMEk F5EMEkxMVJbjF5b4CdK6h/nBi7mecuGLtERAkw+E6XlR7RR1A4f+rayz8qCG9IkDLySSGQ VKvTwW+zPuLC8TFmHwuNcDPKaFQOGCIdGyYWv//z+/ARaa7iwqjNZi/rD553gOxnT5J6+t YLQlw1HVsN2h1DrFU6zAdg1PReLB5aBP9OSA9QdqU4ARJhEqdc1woCp14t3qvtUEMz3V4c md2gqPkmH9TMgy7Vz7VA7npWpWcLKmxqZ2Kwe4lJIkLoP5n9QPrvzNOXqEwPrw== 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 4QMbrV5zX0ztQR; Thu, 18 May 2023 17:02:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 34IH2oWW018622; Thu, 18 May 2023 17:02:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34IH2ogw018621; Thu, 18 May 2023 17:02:50 GMT (envelope-from git) Date: Thu, 18 May 2023 17:02:50 GMT Message-Id: <202305181702.34IH2ogw018621@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Dmitry Chagin Subject: git: 38a137f41620 - main - 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/main X-Git-Reftype: branch X-Git-Commit: 38a137f416203494f183cb2b309524102680105e Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=38a137f416203494f183cb2b309524102680105e commit 38a137f416203494f183cb2b309524102680105e Author: Dmitry Chagin AuthorDate: 2023-05-18 16:58:23 +0000 Commit: Dmitry Chagin CommitDate: 2023-05-18 16:58:23 +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 --- 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 5a5b71f58c8f..c0c12f799382 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);