remove old lock definitions Reference: /n/atom/patch/applied/nixmcsfinal Date: Sun Aug 16 06:00:56 CES 2015 Signed-off-by: quanstro@quanstro.net --- /sys/src/nix/k10/dat.h Sun Aug 16 06:00:47 2015 +++ /sys/src/nix/k10/dat.h Sun Aug 16 06:00:48 2015 @@ -32,40 +32,11 @@ /* * machine dependent definitions used by ../port/portdat.h */ -#ifdef Taslock -struct Lock -{ - u32int key; - int isilock; - Mpl pl; - uintptr pc; - Proc* p; - Mach* m; - uvlong lockcycles; -}; -#else -#ifdef Tiklock -enum { - Cachelinesz = 64, -}; -struct Lock -{ - uchar pad[Cachelinesz*2]; - Mpl pl; - int isilock; - uintptr pc; - Proc* p; - Mach* m; - uvlong lockcycles; -}; -#else struct Lock { LockEntry* head; LockEntry* e; }; -#endif -#endif struct Label {