aboutsummaryrefslogtreecommitdiff
path: root/drivers/acpi/debug.c
diff options
context:
space:
mode:
authorZhang Rui <rui.zhang@intel.com>2009-12-14 11:24:18 +0800
committerLen Brown <len.brown@intel.com>2009-12-15 22:52:19 -0500
commit4bab30a041a2f27807b0b2a7fd36c8c8695c90c8 (patch)
tree5e30d3dd9a8f3017d9faf4a7b886de04665e22c4 /drivers/acpi/debug.c
parenta1a541d86f50a9957beeedb122a035870d602647 (diff)
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 <rui.zhang@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'drivers/acpi/debug.c')
-rw-r--r--drivers/acpi/debug.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/debug.c b/drivers/acpi/debug.c
index 0bedd1554f2..cc421b7ae16 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;