X-Git-Url: https://git.ucc.asn.au/?a=blobdiff_plain;f=AcessNative%2Facesskernel_src%2Finclude%2Farch.h;h=e99948c97fcb3536856101e7134b6bcd7b3ce1c2;hb=a508bd147b638786d1f45869d41cfeb57f3fbedb;hp=03474cf1381c0b3a2b5d204b6ac67fcab023fc47;hpb=d047958aaade97d65ed5d5ca6c3835c2699e1010;p=tpg%2Facess2.git diff --git a/AcessNative/acesskernel_src/include/arch.h b/AcessNative/acesskernel_src/include/arch.h index 03474cf1..e99948c9 100644 --- a/AcessNative/acesskernel_src/include/arch.h +++ b/AcessNative/acesskernel_src/include/arch.h @@ -5,7 +5,6 @@ #include //#include -#include #undef CLONE_VM #define _MODULE_NAME_ "NativeKernel" @@ -29,10 +28,12 @@ typedef intptr_t tPAddr; typedef int BOOL; +#include +#undef offsetof + struct sShortSpinlock { - int IsValid; - pthread_mutex_t Mutex; + void *Mutex; }; #define SHORTLOCK(...)