Skip to content

Commit

Permalink
powernv:stop: Rename pnv_arch300_idle_init to pnv_power9_idle_init
Browse files Browse the repository at this point in the history
Balbir pointed out that the name of the function pnv_arch300_idle_init
was inconsistent with the names of the variables and functions
pertaining to POWER9 features in book3s_idle.S.

This patch renames pnv_arch300_idle_init to pnv_power9_idle_init.

This patch does not change any behaviour.

Signed-off-by: Gautham R. Shenoy <ego@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
  • Loading branch information
Gautham R. Shenoy authored and Michael Ellerman committed Jan 30, 2017
1 parent 823b7bd commit dd34c74
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/powerpc/platforms/powernv/idle.c
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ u64 pnv_deepest_stop_state;
* @dt_idle_states: Number of idle state entries
* Returns 0 on success
*/
static int __init pnv_arch300_idle_init(struct device_node *np, u32 *flags,
static int __init pnv_power9_idle_init(struct device_node *np, u32 *flags,
int dt_idle_states)
{
u64 *psscr_val = NULL;
Expand Down Expand Up @@ -373,7 +373,7 @@ static void __init pnv_probe_idle_states(void)
}

if (cpu_has_feature(CPU_FTR_ARCH_300)) {
if (pnv_arch300_idle_init(np, flags, dt_idle_states))
if (pnv_power9_idle_init(np, flags, dt_idle_states))
goto out;
}

Expand Down

0 comments on commit dd34c74

Please sign in to comment.