From: Zhang Rui Date: Mon, 14 Dec 2009 03:24:18 +0000 (+0800) Subject: ACPI: add kernel tainting after overriding an ACPI control method X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=4bab30a041a2f27807b0b2a7fd36c8c8695c90c8;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git ACPI: add kernel tainting after overriding an ACPI control method Add kernel tainting after overriding an ACPI control method successfully. Signed-off-by: Zhang Rui Signed-off-by: Len Brown --- diff --git a/drivers/acpi/debug.c b/drivers/acpi/debug.c index 0bedd1554f2f..cc421b7ae166 100644 --- a/drivers/acpi/debug.c +++ b/drivers/acpi/debug.c @@ -239,6 +239,7 @@ static ssize_t cm_write(struct file *file, const char __user *user_buf, kfree(buf); if (ACPI_FAILURE(status)) return -EINVAL; + add_taint(TAINT_OVERRIDDEN_ACPI_TABLE); } return count;