Author: arty Date: Sun Oct 8 14:50:50 2006 New Revision: 24450
URL: http://svn.reactos.org/svn/reactos?rev=24450&view=rev Log: Simplify this since we now have intrin.h
Modified: branches/powerpc/reactos/include/ndk/psfuncs.h
Modified: branches/powerpc/reactos/include/ndk/psfuncs.h URL: http://svn.reactos.org/svn/reactos/branches/powerpc/reactos/include/ndk/psfu... ============================================================================== --- branches/powerpc/reactos/include/ndk/psfuncs.h (original) +++ branches/powerpc/reactos/include/ndk/psfuncs.h Sun Oct 8 14:50:50 2006 @@ -180,19 +180,7 @@ PTEB NtCurrentTeb(VOID) { -#ifndef __GNUC__ return (PTEB)(ULONG_PTR)__readfsdword(0x18); -#else - struct _TEB *ret; - - __asm__ __volatile__ ( - "movl %%fs:0x18, %0\n" - : "=r" (ret) - : /* no inputs */ - ); - - return ret; -#endif } #endif