Simplify this since we now have intrin.h

svn path=/branches/powerpc/; revision=24450
This commit is contained in:
Art Yerkes
2006-10-08 10:50:50 +00:00
parent 884712c2ba
commit 6dae10c682
-12
View File
@@ -180,19 +180,7 @@ FORCEINLINE
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