Commit 1318470d authored by Yannick Guerrini's avatar Yannick Guerrini Committed by Michael Ellerman

ps3: Fix trivial typos in comment and debug message

Change 'prosessor' to 'processor'
Change 'set_inteval' to 'set_interval'
Signed-off-by: default avatarYannick Guerrini <yguerrini@tomshardware.fr>
Acked-by: default avatarGeoff Levand <geoff@infradead.org>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
parent e77553cb
...@@ -105,7 +105,7 @@ struct ps3_lpm_shadow_regs { ...@@ -105,7 +105,7 @@ struct ps3_lpm_shadow_regs {
* @open: An atomic variable indicating the lpm driver has been opened. * @open: An atomic variable indicating the lpm driver has been opened.
* @rights: The lpm rigths granted by the system policy module. A logical * @rights: The lpm rigths granted by the system policy module. A logical
* OR of enum ps3_lpm_rights. * OR of enum ps3_lpm_rights.
* @node_id: The node id of a BE prosessor whose performance monitor this * @node_id: The node id of a BE processor whose performance monitor this
* lpar has the right to use. * lpar has the right to use.
* @pu_id: The lv1 id of the logical PU. * @pu_id: The lv1 id of the logical PU.
* @lpm_id: The lv1 id of this lpm instance. * @lpm_id: The lv1 id of this lpm instance.
...@@ -412,7 +412,7 @@ u32 ps3_read_pm(u32 cpu, enum pm_reg_name reg) ...@@ -412,7 +412,7 @@ u32 ps3_read_pm(u32 cpu, enum pm_reg_name reg)
result = lv1_set_lpm_interval(lpm_priv->lpm_id, 0, 0, &val); result = lv1_set_lpm_interval(lpm_priv->lpm_id, 0, 0, &val);
if (result) { if (result) {
val = 0; val = 0;
dev_dbg(sbd_core(), "%s:%u: lv1 set_inteval failed: " dev_dbg(sbd_core(), "%s:%u: lv1 set_interval failed: "
"reg %u, %s\n", __func__, __LINE__, reg, "reg %u, %s\n", __func__, __LINE__, reg,
ps3_result(result)); ps3_result(result));
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment