Skip to content

Commit

Permalink
[MIPS] Alchemy: Reformat PM code.
Browse files Browse the repository at this point in the history
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
  • Loading branch information
Ralf Baechle committed Oct 17, 2007
1 parent f3e8d1d commit c30db24
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions arch/mips/au1000/common/power.c
Original file line number Diff line number Diff line change
Expand Up @@ -403,9 +403,9 @@ static int pm_do_freq(ctl_table * ctl, int write, struct file *file,
}


/* We don't want _any_ interrupts other than
* match20. Otherwise our au1000_calibrate_delay()
* calculation will be off, potentially a lot.
/*
* We don't want _any_ interrupts other than match20. Otherwise our
* au1000_calibrate_delay() calculation will be off, potentially a lot.
*/
intc0_mask = save_local_and_disable(0);
intc1_mask = save_local_and_disable(1);
Expand All @@ -414,6 +414,7 @@ static int pm_do_freq(ctl_table * ctl, int write, struct file *file,
au1000_calibrate_delay();
restore_local_and_enable(0, intc0_mask);
restore_local_and_enable(1, intc1_mask);

return retval;
}

Expand Down

0 comments on commit c30db24

Please sign in to comment.