diff options
author | Zhang Rui <rui.zhang@intel.com> | 2009-12-14 03:24:18 (GMT) |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2009-12-16 03:52:19 (GMT) |
commit | 4bab30a041a2f27807b0b2a7fd36c8c8695c90c8 (patch) | |
tree | 5e30d3dd9a8f3017d9faf4a7b886de04665e22c4 /drivers/acpi/debug.c | |
parent | a1a541d86f50a9957beeedb122a035870d602647 (diff) | |
download | linux-4bab30a041a2f27807b0b2a7fd36c8c8695c90c8.tar.xz |
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 0bedd15..cc421b7 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; |