Skip to content

Commit

Permalink
powerpc: Fix misleading comment in early_setup_secondary()
Browse files Browse the repository at this point in the history
Current comment in the early_setup_secondary() for paca->soft_enabled
update is misleading. Comment should say to Mark interrupts "disabled"
instead of "enabled". Fix the typo.

Signed-off-by: Madhavan Srinivasan <maddy@linux.vnet.ibm.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
  • Loading branch information
Madhavan Srinivasan authored and Michael Ellerman committed Jun 21, 2016
1 parent 61ed9cf commit 103b782
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/powerpc/kernel/setup_64.c
Original file line number Diff line number Diff line change
@@ -321,7 +321,7 @@ void __init early_setup(unsigned long dt_ptr)
#ifdef CONFIG_SMP
void early_setup_secondary(void)
{
/* Mark interrupts enabled in PACA */
/* Mark interrupts disabled in PACA */
get_paca()->soft_enabled = 0;

/* Initialize the hash table or TLB handling */

0 comments on commit 103b782

Please sign in to comment.