Partially fixed up tree after merge from HEAD. More to do.
[reactos.git] / reactos / lib / rtl / exception.c
index 99b49ab..917f74a 100644 (file)
@@ -122,10 +122,12 @@ RtlWalkFrameChain(OUT PVOID *Callers,
     ULONG i = 0;
 
     /* Get current EBP */
+#ifdef _M_IX86
 #if defined __GNUC__
     __asm__("mov %%ebp, %0" : "=r" (Stack) : );
 #elif defined(_MSC_VER)
     __asm mov Stack, ebp
+#endif
 #endif
 
     /* Set it as the stack begin limit as well */