Modules/IPStack - Made use of "sti" x86 only
authorJohn Hodge <[email protected]>
Fri, 3 Aug 2012 05:38:52 +0000 (13:38 +0800)
committerJohn Hodge <[email protected]>
Fri, 3 Aug 2012 05:38:52 +0000 (13:38 +0800)
KernelLand/Modules/IPStack/adapters.c

index 90c0b24..16e0f97 100644 (file)
@@ -344,7 +344,9 @@ void IPStack_SendDebugText(const char *Text)
        if( CPU_HAS_LOCK(&lLock) )
                return ;        // Nested!
        SHORTLOCK(&lLock);
+       #if ARCHDIR_is_x86
        __asm__ __volatile__ ("sti");   // Start interrupts (x86 specific)
+       #endif
 
        // Cache packets until a newline
        static char     cache[1500 - (sizeof(pkt_hdr) + 4)];

UCC git Repository :: git.ucc.asn.au