forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/drivers/acpi/acpica/utmisc.c
....@@ -59,10 +59,11 @@
5959
6060 /* These are the only tables that contain executable AML */
6161
62
- if (ACPI_COMPARE_NAME(table->signature, ACPI_SIG_DSDT) ||
63
- ACPI_COMPARE_NAME(table->signature, ACPI_SIG_PSDT) ||
64
- ACPI_COMPARE_NAME(table->signature, ACPI_SIG_SSDT) ||
65
- ACPI_COMPARE_NAME(table->signature, ACPI_SIG_OSDT)) {
62
+ if (ACPI_COMPARE_NAMESEG(table->signature, ACPI_SIG_DSDT) ||
63
+ ACPI_COMPARE_NAMESEG(table->signature, ACPI_SIG_PSDT) ||
64
+ ACPI_COMPARE_NAMESEG(table->signature, ACPI_SIG_SSDT) ||
65
+ ACPI_COMPARE_NAMESEG(table->signature, ACPI_SIG_OSDT) ||
66
+ ACPI_IS_OEM_SIG(table->signature)) {
6667 return (TRUE);
6768 }
6869