- Update selector names to official names and define/use the MODE and RPL masks for...
[reactos.git] / reactos / lib / kernel32 / thread / i386 / fiber.S
index d5f93ed..d5db93e 100644 (file)
@@ -17,7 +17,7 @@
 
 _SwitchToFiber@4:
     /* Get the TEB */
-    mov edx, fs:[TEB_SELECTOR]
+    mov edx, fs:[KGDT_R3_TEB]
     
     /* Get the Fiber */
     mov eax, [edx+TEB_FIBER_DATA]