From nobody Thu Nov 02 18:47:42 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 4SLtCz0g9Fz503Tx; Thu, 2 Nov 2023 18:47:43 +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 4SLtCy74Bvz3WZ9; Thu, 2 Nov 2023 18:47:42 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698950863; 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=olXCYyo6l+CWdAyTU0CxXcgYDhDU1evwjn1IymmLOeA=; b=RKVhnzHHFcYZlKE2Q9hjOTRjOEXHZVYhQqRPzVNTsZjwClMUkOV4fOrv9dhJ2HqdqHuBvJ F1pKf8rDcoqNrT/JGDIXDLC3lrzlNcjYx/USWo4e8DJT3QIRCOqXBrf3Kd2ObC5fw+Z69s 78Z6bx4Xt9iGf4GSLZy/yBqZoe9E8HfgdmNCHWpESPr1bTkejkEZ/w14ZJDREp4rSLRW2h /ZcMb7f3FzB+a5UPqg92Xj5/24Ou03usdBmYZyD5g/TKFP9/Y8Wp/L8cmRr80vis9cSFV/ lS/mWdBCCUCmGC+xW8l7X2ecK8UQbWHdI57w+DGXCSLTHDUB7ZJCO/XAo8MV8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1698950863; 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=olXCYyo6l+CWdAyTU0CxXcgYDhDU1evwjn1IymmLOeA=; b=UKQve5N0CMBHvDDRKoUtYeAy11fhHvZMVWGv22NhS0tNDDgNOfnobiyMmoLf5C5vcFKkPb yyJW7UEEPQaV/DljBy1vvEubEhjT+xRKOnMwMIo6XcDgD9bYTocSty3ftaf8AuButRlw28 VO1v7F5EWAjKGK9Q926fXCXFIcyg7u8ST+PB9UompoToIcdp3tDpyLywEoFY4277c9Hp1A 6Svz8VmSEEH5hQ9vcE0V3FK8Xmfmht/zRVkHgj9tb+Ddn9YTDHFDyqHVNuDHiRYUo3OPQ7 QFQKFa1i8q7+CATLLOSbvPciWyGt6Rc+2OzagC5X1wFNsESho3aADTawQi0x2A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1698950863; a=rsa-sha256; cv=none; b=oDGJAey1wlH+UmEk8jC2UOQEIZY7S291CbUlTM3vtGAGoEyoTrxAGb7aAh/kO9Eejd1Jy8 zAODq76p/2fZa5m20qk7OUdXo96ECDZ/yMI7S984u05NpJkCT7M/rQ8sYOwKeKNj8AwNVh e/uICWZKFDB/1usMPLsWI2QklJ+YyY0/rD18lmHy6JNVeWJW0FLSDhyngcsoOXrVsbMOIc qqP1i2hM9MdUSExex1In40BzEVZ2PumLofN1ka6wFft2IHkfnsfMrD5CkAC2lB+o8FEcF0 b+uBOPje9jI/TKoFOqj5TgOdatSLQTD8jEKIeX0yxzQdiKRtsoFmc7XRChufkg== 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 4SLtCy60cyzgdp; Thu, 2 Nov 2023 18:47:42 +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 3A2Ilghd044601; Thu, 2 Nov 2023 18:47:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3A2Ilgri044598; Thu, 2 Nov 2023 18:47:42 GMT (envelope-from git) Date: Thu, 2 Nov 2023 18:47:42 GMT Message-Id: <202311021847.3A2Ilgri044598@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mark Johnston Subject: git: 953345922398 - main - 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/main X-Git-Reftype: branch X-Git-Commit: 953345922398ae6c029713087c8494a346d90c85 Auto-Submitted: auto-generated The branch main has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=953345922398ae6c029713087c8494a346d90c85 commit 953345922398ae6c029713087c8494a346d90c85 Author: Mark Johnston AuthorDate: 2023-11-02 18:33:20 +0000 Commit: Mark Johnston CommitDate: 2023-11-02 18:33:20 +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 --- 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 66054898b281..5747f04b7e0b 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 @@ -1060,7 +1050,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;