diff options
author | Zhang Rui <rui.zhang@intel.com> | 2009-12-14 11:24:18 +0800 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-12-15 22:52:19 -0500 |
commit | 4bab30a041a2f27807b0b2a7fd36c8c8695c90c8 (patch) | |
tree | 5e30d3dd9a8f3017d9faf4a7b886de04665e22c4 /drivers/acpi/debug.c | |
parent | a1a541d86f50a9957beeedb122a035870d602647 (diff) | |
download | linux-4bab30a041a2f27807b0b2a7fd36c8c8695c90c8.tar.bz2 |
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.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |