From nobody Sat Apr 22 08:30:39 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 4Q3PjX2H7Lz46PML; Sat, 22 Apr 2023 08:30:40 +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 4Q3PjW4dXFz3mlV; Sat, 22 Apr 2023 08:30:39 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682152239; 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=zIFlpyasGz8y1Jz8HcbL7DbYXzx8C7LN+zabAWRKZ18=; b=bu96CmeC3J9oqkkcPFHUv4Jm09uU6PsWtDeaGIIEfqNd2HvDj+FvMWEidJcZ+BP9CrLAOg 5n0F5yT4qQbuWvnMd6r8F4B9Tu/LvXiGq1eqgqVtYFUWvJgrtkl2byMwsOUFuO1eplFRbl sotrMQmpUtFA1p3VCEVxJU52fuIhnxpa3VX04qyYNSmFBhmAaxpspff8a4L/4zE8aPwEqO Er3E/vlMtmU3lLlyt/Jp/4Qf94Us0K1Ea1hKwHjYqdkMhzYk0OUDDZ40Pkn4/MpyWWwLck vaGqO6nrq5RJhDrQzcum5ASxG0tmeyOZiu48UakxGNJiaMaoiVlmbhz4Ce/Chw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682152239; 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=zIFlpyasGz8y1Jz8HcbL7DbYXzx8C7LN+zabAWRKZ18=; b=q4kDia44IbH0E0+C7ZFX+P7gWwGxH6wIGNLzUwVRWG4b9qs3UTh8DjOnIx04eGL3XZHM1l 9KHehd84Xo+hH084dYp2aa+eOGNRpJC79Pi4UaFhSqe7xjv3rPev5WGSDy6lrMaJUXJtZs s554lGgPJUo1z2LVC4it02SphSFHfmCqnzgYxwXAP63up+kVkus4Y9suykN8ohRnjsva6I LGYkUMOxd6O7XL1BHqJc0moqDB3Je4xwjkVXCzGyspYorI95PJCiA09WXQCWe/LT8MHoaI H6jPs/v78K3wrne/S76COroO/iVp3K78djiQ67iq7aTFCYaUOeP7ZuaM4CBmlg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682152239; a=rsa-sha256; cv=none; b=m+VlpnYtFYZWMUSLngH0vmkv/ejICGDcDOlvOzfQfJiewfoJiwCGNMPDxzPOR3ru4TcrM6 VCxftFTMmUIrlgHNQWaLBEOieDq0/rQqe7Nm2CdQgKY5R4G7Uc6hrwwSIiQaOiJMcTQqsb cIKIKqkPy486nKLtPb9B9MHAWgPEB6y9RqeBU+WUkG0axEhG/W/Dc7j5uptWVEPsbwfrsE 3PJqANJLd8og/yrV9ZL84zW1fqlEr1GqO8/o0SW4Qc7VUICk61Tz9TrG9gONS1q1Abt8OR 3mbu5D+bxQEGuxjtsL0rAzJ7oz6zktMI/Qb9wKWeZOorr8IneLWzUbUUeChJNw== 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 4Q3PjW2784zvZ5; Sat, 22 Apr 2023 08:30:39 +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 33M8Ud05023811; Sat, 22 Apr 2023 08:30:39 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33M8Uduo023810; Sat, 22 Apr 2023 08:30:39 GMT (envelope-from git) Date: Sat, 22 Apr 2023 08:30:39 GMT Message-Id: <202304220830.33M8Uduo023810@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Vladimir Kondratyev Subject: git: b14c03f808c4 - main - LinuxKPI: define acpi_put_table() in 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: wulf X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b14c03f808c415248ae7ec0f0476176ad521d67b Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by wulf: URL: https://cgit.FreeBSD.org/src/commit/?id=b14c03f808c415248ae7ec0f0476176ad521d67b commit b14c03f808c415248ae7ec0f0476176ad521d67b Author: Vladimir Kondratyev AuthorDate: 2023-04-22 08:29:29 +0000 Commit: Vladimir Kondratyev CommitDate: 2023-04-22 08:29:29 +0000 LinuxKPI: define acpi_put_table() in FreeBSD ACPICA calls it AcpiPutTable() Required by: drm-kmod 5.15-lts Reviewed by: manu Differential Revision: https://reviews.freebsd.org/D39551 --- sys/compat/linuxkpi/common/include/acpi/acpi.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sys/compat/linuxkpi/common/include/acpi/acpi.h b/sys/compat/linuxkpi/common/include/acpi/acpi.h index e996301e27f0..4e187574c82d 100644 --- a/sys/compat/linuxkpi/common/include/acpi/acpi.h +++ b/sys/compat/linuxkpi/common/include/acpi/acpi.h @@ -97,4 +97,10 @@ acpi_get_table(ACPI_STRING Signature, UINT32 Instance, return (AcpiGetTable(Signature, Instance, OutTable)); } +static inline void +acpi_put_table(ACPI_TABLE_HEADER *Table) +{ + AcpiPutTable(Table); +} + #endif /* _LINUXKPI_ACPI_ACPI_H_ */