]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[undi] Do not switch to real mode to check for NIC interrupt
authorMichael Brown <mcb30@ipxe.org>
Sat, 3 May 2014 11:35:03 +0000 (12:35 +0100)
committerMichael Brown <mcb30@ipxe.org>
Sat, 3 May 2014 18:52:10 +0000 (19:52 +0100)
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/i386/drivers/net/undinet.c

index 4a0c9466ae0ccfe00414cffd2ac7a1238c64049c..d7a632da3f89d82255ccd9a556dd37f4abd222a0 100644 (file)
@@ -343,10 +343,10 @@ static void undinet_poll ( struct net_device *netdev ) {
                if ( ! undinet_isr_triggered() ) {
                        /* Allow interrupt to occur */
                        profile_start ( &undinet_irq_profiler );
-                       __asm__ __volatile__ ( REAL_CODE ( "sti\n\t"
-                                                          "nop\n\t"
-                                                          "nop\n\t"
-                                                          "cli\n\t" ) : : );
+                       __asm__ __volatile__ ( "sti\n\t"
+                                              "nop\n\t"
+                                              "nop\n\t"
+                                              "cli\n\t" );
                        profile_stop ( &undinet_irq_profiler );
 
                        /* If interrupts are known to be supported,