Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/arch/x86/include/lock.h,v rcsdiff: /ftp/cvs/cvsroot/src/sys/arch/x86/include/lock.h,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.7 retrieving revision 1.8 diff -u -p -r1.7 -r1.8 --- src/sys/arch/x86/include/lock.h 2004/10/31 10:39:34 1.7 +++ src/sys/arch/x86/include/lock.h 2004/11/25 04:50:48 1.8 @@ -1,4 +1,4 @@ -/* $NetBSD: lock.h,v 1.7 2004/10/31 10:39:34 yamt Exp $ */ +/* $NetBSD: lock.h,v 1.8 2004/11/25 04:50:48 yamt Exp $ */ /*- * Copyright (c) 2000 The NetBSD Foundation, Inc. @@ -49,16 +49,6 @@ #include -/* - * compiler barrier: prevent reordering of instructions. - * XXX something similar will move to - * or thereabouts. - * This prevents the compiler from reordering code around - * this "instruction", acting as a sequence point for code generation. - */ - -#define __lockbarrier() __asm __volatile("": : :"memory") - #ifdef LOCKDEBUG extern void __cpu_simple_lock_init(__cpu_simple_lock_t *);