--- trunk/reactos/ntoskrnl/ke/i386/cpu.S 2006-01-16 19:59:32 UTC (rev 20919)
+++ trunk/reactos/ntoskrnl/ke/i386/cpu.S 2006-01-16 21:12:13 UTC (rev 20920)
@@ -32,7 +32,9 @@
/* Modifying the PSE, PGE or PAE Flag in CR4 causes the TLB to be flushed */
mov eax, cr4
- and eax, ~CR4_PGE
+.att_syntax /* Older binutils versions don't support ~ for .intel_syntax */
+ and $~CR4_PGE, %eax
+.intel_syntax noprefix
mov cr4, eax
or eax, CR4_PGE
mov cr4, eax
--- trunk/reactos/ntoskrnl/ke/i386/usercall_asm.S 2006-01-16 19:59:32 UTC (rev 20919)
+++ trunk/reactos/ntoskrnl/ke/i386/usercall_asm.S 2006-01-16 21:12:13 UTC (rev 20920)
@@ -135,7 +135,9 @@
mov [ebx+KTHREAD_CALLBACK_STACK], esp
/* Align stack on 16-byte boundary */
- and esp, ~15
+.att_syntax /* Older binutils versions don't support ~ for intel_syntax */
+ and $~15,%esp
+.intel_syntax noprefix
mov edi, esp
/* Set destination and origin NPX Areas */