Skip to content

Commit

Permalink
[POWERPC] Remove some redundant isync instructions
Browse files Browse the repository at this point in the history
Remove some redundant isync instructions.

enable_64b_mode() already does an isync, so there is no need to do it again.

Signed-off-by: MOKUNO, Masakazu <mokuno@sm.sony.co.jp>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
  • Loading branch information
MOKUNO Masakazu authored and Paul Mackerras committed Mar 9, 2007
1 parent dbc11f5 commit fdc0a9b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions arch/powerpc/kernel/head_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -1555,7 +1555,6 @@ _GLOBAL(generic_secondary_smp_init)

/* turn on 64-bit mode */
bl .enable_64b_mode
isync

/* Set up a paca value for this processor. Since we have the
* physical cpu id in r24, we need to search the pacas to find
Expand Down Expand Up @@ -1851,7 +1850,6 @@ __secondary_start_pmac_0:
_GLOBAL(pmac_secondary_start)
/* turn on 64-bit mode */
bl .enable_64b_mode
isync

/* Copy some CPU settings from CPU 0 */
bl .__restore_cpu_ppc970
Expand Down

0 comments on commit fdc0a9b

Please sign in to comment.