From nobody Thu Nov 09 14:40:31 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 4SR4PW6rgBz4yw0Z; Thu, 9 Nov 2023 14:40:31 +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 4SR4PW4yr6z3Qxk; Thu, 9 Nov 2023 14:40:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699540831; 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=+l/6iIUii5KFcLIZ0Cw1mywByMiJsAxwJb0E/XGL7k0=; b=dAm7VasoBMtkJzGpCXv1jSMZLL2j8IiNZzVjVgZbrL4ZGGrAFRQJkrNp0a/SwUxBkPj1Rc rKkB5rAU/V3WncQ+Ktt8RYP2WpyCT04xMPp0yzsPzjc6C7tqz+MN6fNXHTdo6DeI+dtpMl CUsvyECd1TStRAaLdsywpWuMpePPZ49B0+uoooFVoykB/57kG8cTgKgPjem/zxXyRvLPoJ F+GMu3nntiPXDANUv8I/sf8BofbXcHbA5J8Grk1BcZRL4ze0guuMqpO7djqaqjvS0bNBZT JoC4IKQa1Xk0lbUhXyITqREuDXPd0O16hMJcPwM8tYHKwqE/7DOcNF7TZ307HQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699540831; 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=+l/6iIUii5KFcLIZ0Cw1mywByMiJsAxwJb0E/XGL7k0=; b=aQYNT6q0Fo2Y6bBFMJ4OudBceHZkl/rG+lICc+4L/MwLnHyomzfxJyT3DZpKPDTBefvhub iIAak/0/Dkw6KoiLD3cgII1u10JpJsIoI6gXtL3+2gLi2aCZw13hEV3J1ZCRXurvL7dXSz DQG9x85e0bLxes0vxSuf3tiWaYZ/5QkbsGo2M7cfUxyCqDddlRMXCWlFmXOWBO0kFkmjG3 qkGZm1/29GPVUdLCSktH2jeJsY8GKy8uqDWYV/hnDv1F+3dp4JO1fpdh43KEmMWIZciBem J3UWc7zryti7GsHepoVoB3fhpr44niZFU8pb8nHFy/wWtcSADtdA2CnASdX64Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699540831; a=rsa-sha256; cv=none; b=rYqVv0mNr8WIIP1foceGTdZ1IFFEtZvV01f9h0Iak/R/XhciJcy+9aG+KMaWup3YLWlzO7 q6SG9hAvTRayO9mNZ02hPWXlKnIzzK2yqDSWMhxR/cNHJb1WywGcpMAYoSPgbXOZiVSq7M hO6PxSc9Tk1AvupOpSgy1YoXiClzo5l73RygYQRNSg9+1pYnbVwVq81DLTZYfi/skmFd3m 0y1Fi0X0F+JAGYdXX1/STn0L5dwdqpkrpVjCsRRbvTRZ1dq3rbeAwhDZayLL39kmysynMx P6i6KlpEfUpKZrqACny3nOPY3kmpnPqUyWS46tQ7EefuxXOM3K621De3kg/Wbw== 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 4SR4PW43JHz4cP; Thu, 9 Nov 2023 14:40:31 +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 3A9EeVtZ073340; Thu, 9 Nov 2023 14:40:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3A9EeVrE073337; Thu, 9 Nov 2023 14:40:31 GMT (envelope-from git) Date: Thu, 9 Nov 2023 14:40:31 GMT Message-Id: <202311091440.3A9EeVrE073337@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: 00c537586fdf - stable/14 - riscv: Retire PMAP_INLINE 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: markj X-Git-Repository: src X-Git-Refname: refs/heads/stable/14 X-Git-Reftype: branch X-Git-Commit: 00c537586fdf5044f0cd52e566d4c18163b61e77 Auto-Submitted: auto-generated The branch stable/14 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=00c537586fdf5044f0cd52e566d4c18163b61e77 commit 00c537586fdf5044f0cd52e566d4c18163b61e77 Author: Mark Johnston AuthorDate: 2023-11-02 18:33:20 +0000 Commit: Mark Johnston CommitDate: 2023-11-09 14:40:04 +0000 riscv: Retire PMAP_INLINE pmap_kremove() is not called from within pmap.c, so there's no reason to inline it. No functional change intended. Reviewed by: alc, kib MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D42287 (cherry picked from commit 953345922398ae6c029713087c8494a346d90c85) --- sys/riscv/riscv/pmap.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/sys/riscv/riscv/pmap.c b/sys/riscv/riscv/pmap.c index 49ee54b37918..1d1d0fc839ca 100644 --- a/sys/riscv/riscv/pmap.c +++ b/sys/riscv/riscv/pmap.c @@ -173,16 +173,6 @@ #define NUL1E (Ln_ENTRIES * NUL0E) #define NUL2E (Ln_ENTRIES * NUL1E) -#if !defined(DIAGNOSTIC) -#ifdef __GNUC_GNU_INLINE__ -#define PMAP_INLINE __attribute__((__gnu_inline__)) inline -#else -#define PMAP_INLINE extern inline -#endif -#else -#define PMAP_INLINE -#endif - #ifdef PV_STATS #define PV_STAT(x) do { x ; } while (0) #define __pv_stat_used @@ -1054,7 +1044,7 @@ pmap_kenter_device(vm_offset_t sva, vm_size_t size, vm_paddr_t pa) * Remove a page from the kernel pagetables. * Note: not SMP coherent. */ -PMAP_INLINE void +void pmap_kremove(vm_offset_t va) { pt_entry_t *l3;