summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/ec.c
diff options
context:
space:
mode:
authorLv Zheng <lv.zheng@intel.com>2014-10-14 14:23:38 +0800
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-10-21 00:44:53 +0200
commitc95f25b03667c50e7184a63bdf4c32dff0de2f6f (patch)
tree14d0368db94b89eb57ad9afc83350ceb036f2f99 /drivers/acpi/ec.c
parentf114040e3ea6e07372334ade75d1ee0775c355e1 (diff)
downloadtalos-op-linux-c95f25b03667c50e7184a63bdf4c32dff0de2f6f.tar.gz
talos-op-linux-c95f25b03667c50e7184a63bdf4c32dff0de2f6f.zip
ACPI / EC: Add CPU ID to debugging messages.
This patch adds CPU ID to the context entries' debugging output. no functional changes. Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/ec.c')
-rw-r--r--drivers/acpi/ec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
index cb6066c809ea..9cb4d0c468eb 100644
--- a/drivers/acpi/ec.c
+++ b/drivers/acpi/ec.c
@@ -181,7 +181,8 @@ static bool advance_transaction(struct acpi_ec *ec)
u8 status;
bool wakeup = false;
- pr_debug("===== %s =====\n", in_interrupt() ? "IRQ" : "TASK");
+ pr_debug("===== %s (%d) =====\n",
+ in_interrupt() ? "IRQ" : "TASK", smp_processor_id());
status = acpi_ec_read_status(ec);
t = ec->curr;
if (!t)
OpenPOWER on IntegriCloud