[SPARC64]: Use TRAP_LOAD_IRQ_WORK() in sun4v device mondo handler.
authorDavid S. Miller <davem@sunset.davemloft.net>
Tue, 14 Feb 2006 06:37:07 +0000 (22:37 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 20 Mar 2006 09:12:49 +0000 (01:12 -0800)
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc64/kernel/sun4v_ivec.S

index c0367ef7e0985cc046c2dc0e4b6d7a21218ef3c7..b49a68bdda435452900530554347ed6d06d0509e 100644 (file)
@@ -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
This page took 0.025822 seconds and 5 git commands to generate.