diff options
author | Miguel Bernal Marin | 2021-10-06 00:13:18 -0500 |
---|---|---|
committer | Rafael J. Wysocki | 2021-10-07 19:18:19 +0200 |
commit | 136f282028dae7d9dd68469b197aa2b36b410992 (patch) | |
tree | eea6c51382df40b87a25e6cdfc2565f976250cbd /arch/nios2/include | |
parent | 9e1ff307c779ce1f0f810c7ecce3d95bbae40896 (diff) |
ACPI: tools: fix compilation error
When ACPI tools are compiled, the following error is showed:
$ cd tools/power/acpi
$ make
DESCEND tools/acpidbg
MKDIR include
CP include
CC tools/acpidbg/acpidbg.o
In file included from /home/linux/tools/power/acpi/include/acpi/platform/acenv.h:152,
from /home/linux/tools/power/acpi/include/acpi/acpi.h:22,
from acpidbg.c:9:
/home/linux/tools/power/acpi/include/acpi/platform/acgcc.h:25:10: fatal error: linux/stdarg.h: No such file or directory
29 | #include <linux/stdarg.h>
| ^~~~~~~~~~~~~~~~
compilation terminated.
Use the ACPICA logic: just identify when it is used inside the kernel
or by an ACPI tool.
Fixes: c0891ac15f04 ("isystem: ship and use stdarg.h")
Signed-off-by: Miguel Bernal Marin <miguel.bernal.marin@linux.intel.com>
[ rjw: Changelog edits ]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'arch/nios2/include')
0 files changed, 0 insertions, 0 deletions