diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2006-02-14 01:37:07 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-03-20 04:12:49 -0500 |
commit | a615fea48be4eada94986d63e3e8ee5563121649 (patch) | |
tree | 3809861753726fe11232f64097356d2d910262e4 /arch/sparc64/kernel/sun4v_ivec.S | |
parent | 7c8f486ae7fe90d7bb99a70a42d71c9a40688ec2 (diff) |
[SPARC64]: Use TRAP_LOAD_IRQ_WORK() in sun4v device mondo handler.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/sun4v_ivec.S')
-rw-r--r-- | arch/sparc64/kernel/sun4v_ivec.S | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/arch/sparc64/kernel/sun4v_ivec.S b/arch/sparc64/kernel/sun4v_ivec.S index c0367ef7e098..b49a68bdda43 100644 --- a/arch/sparc64/kernel/sun4v_ivec.S +++ b/arch/sparc64/kernel/sun4v_ivec.S | |||
@@ -98,10 +98,7 @@ sun4v_dev_mondo: | |||
98 | membar #Sync | 98 | membar #Sync |
99 | 99 | ||
100 | /* Get &__irq_work[smp_processor_id()] into %g1. */ | 100 | /* Get &__irq_work[smp_processor_id()] into %g1. */ |
101 | sethi %hi(__irq_work), %g4 | 101 | TRAP_LOAD_IRQ_WORK(%g1, %g4) |
102 | sllx %g1, 6, %g1 | ||
103 | or %g4, %lo(__irq_work), %g4 | ||
104 | add %g4, %g1, %g1 | ||
105 | 102 | ||
106 | /* Get &ivector_table[IVEC] into %g4. */ | 103 | /* Get &ivector_table[IVEC] into %g4. */ |
107 | sethi %hi(ivector_table), %g4 | 104 | sethi %hi(ivector_table), %g4 |