Received: by mail.netbsd.org (Postfix, from userid 605) id EA74184E9F; Wed, 16 Feb 2022 20:14:31 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 2A76F84D8B for ; Wed, 16 Feb 2022 20:14:31 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id lA7hM0R0jAhC for ; Wed, 16 Feb 2022 20:14:30 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id B5A1C84CE3 for ; Wed, 16 Feb 2022 20:14:30 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id B3E36FB24; Wed, 16 Feb 2022 20:14:30 +0000 (UTC) Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" MIME-Version: 1.0 Date: Wed, 16 Feb 2022 20:14:30 +0000 From: "Taylor R Campbell" Subject: CVS commit: src/sys To: source-changes@NetBSD.org X-Mailer: log_accum Message-Id: <20220216201430.B3E36FB24@cvs.NetBSD.org> Sender: source-changes-owner@NetBSD.org List-Id: Precedence: bulk Reply-To: source-changes-d@NetBSD.org Mail-Reply-To: "Taylor R Campbell" Mail-Followup-To: source-changes-d@NetBSD.org List-Unsubscribe: Module Name: src Committed By: riastradh Date: Wed Feb 16 20:14:30 UTC 2022 Modified Files: src/sys/conf: files src/sys/dev/acpi: files.acpi Log Message: sys: Include files.acpica unconditionally. This way acpica.h always exists unconditionally, so MI code can be conditional on NACPICA. It is not great to have such conditionals, but it's better to have #include "acpica.h" #ifdef NACPICA > 0 than to have #if defined(__i386__) || defined(__x86_64__) || defined(__arm__) #include "acpica.h" #endif #ifdef NACPICA > 0 and we can still grep for NACPICA to find places that could be factored better. To generate a diff of this commit: cvs rdiff -u -r1.1294 -r1.1295 src/sys/conf/files cvs rdiff -u -r1.123 -r1.124 src/sys/dev/acpi/files.acpi Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.