X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;ds=sidebyside;f=KernelLand%2FModules%2FIPStack%2Fadapters.c;h=16e0f9753dce2712a22bcd1f64dbfc0e78af040e;hb=bf62604f78c2d8bc88cac3664e15ed02c6e6d581;hp=58e503c0d2b6a372b7b2430c1a85119b3bdee677;hpb=b60401ea8fc3d59c3adda530e995fc04ee7cf457;p=tpg%2Facess2.git diff --git a/KernelLand/Modules/IPStack/adapters.c b/KernelLand/Modules/IPStack/adapters.c index 58e503c0..16e0f975 100644 --- a/KernelLand/Modules/IPStack/adapters.c +++ b/KernelLand/Modules/IPStack/adapters.c @@ -344,7 +344,9 @@ void IPStack_SendDebugText(const char *Text) if( CPU_HAS_LOCK(&lLock) ) return ; // Nested! SHORTLOCK(&lLock); -// __asm__ __volatile__ ("sti"); // Start interrupts (x86 specific) + #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)];