Skip to content

Commit

Permalink
[SPARC64]: Use TRAP_LOAD_IRQ_WORK() in sun4v device mondo handler.
Browse files Browse the repository at this point in the history
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Mar 20, 2006
1 parent 7c8f486 commit a615fea
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions arch/sparc64/kernel/sun4v_ivec.S
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,7 @@ sun4v_dev_mondo:
membar #Sync

/* Get &__irq_work[smp_processor_id()] into %g1. */
sethi %hi(__irq_work), %g4
sllx %g1, 6, %g1
or %g4, %lo(__irq_work), %g4
add %g4, %g1, %g1
TRAP_LOAD_IRQ_WORK(%g1, %g4)

/* Get &ivector_table[IVEC] into %g4. */
sethi %hi(ivector_table), %g4
Expand Down

0 comments on commit a615fea

Please sign in to comment.