diff options
Diffstat (limited to 'drivers/acpi/osl.c')
-rw-r--r-- | drivers/acpi/osl.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c index 131936e7ff17..bbd8360bfb23 100644 --- a/drivers/acpi/osl.c +++ b/drivers/acpi/osl.c | |||
@@ -392,6 +392,13 @@ acpi_os_table_override(struct acpi_table_header * existing_table, | |||
392 | *new_table = initrd_table; | 392 | *new_table = initrd_table; |
393 | } | 393 | } |
394 | #endif | 394 | #endif |
395 | if (*new_table != NULL) { | ||
396 | printk(KERN_WARNING PREFIX "Override [%4.4s-%8.8s], " | ||
397 | "this is unsafe: tainting kernel\n", | ||
398 | existing_table->signature, | ||
399 | existing_table->oem_table_id); | ||
400 | add_taint(TAINT_OVERRIDDEN_ACPI_TABLE); | ||
401 | } | ||
395 | return AE_OK; | 402 | return AE_OK; |
396 | } | 403 | } |
397 | 404 | ||