From 9c8249195d0c8fc115dc951215411bf025800870 Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Sat, 28 Jan 2023 09:13:17 +0100 Subject: acpi/acpigen.c: Add a comment to deprecate acpigen_write_processor() ACPI Revision 6.0 deprecates Processor keyword, so use acpigen_write_processor_device() instead. Change-Id: I31626f4e323dd9053a63c0f5e89d1685103e4bd4 Signed-off-by: Elyes Haouas Reviewed-on: https://review.coreboot.org/c/coreboot/+/72487 Tested-by: build bot (Jenkins) Reviewed-by: Felix Held --- src/acpi/acpigen.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/acpi/acpigen.c b/src/acpi/acpigen.c index 305cddb0f0..b6a409eb96 100644 --- a/src/acpi/acpigen.c +++ b/src/acpi/acpigen.c @@ -395,6 +395,7 @@ void acpigen_write_processor_namestring(unsigned int cpu_index) acpigen_emit_namestring(buffer); } +/* Processor() operator is deprecated as of ACPI 6.0, use Device() instead. */ void acpigen_write_processor(u8 cpuindex, u32 pblock_addr, u8 pblock_len) { /* -- cgit v1.2.3