Source-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: src/sys
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.
Home |
Main Index |
Thread Index |
Old Index