can somebody explain barrier() macro ?

From: hiren_mehta@agilent.com
Date: Tue Feb 20 2001 - 14:50:54 EST


Hi,

barrier() is defined in kernel.h as follows :

#define barrier() __asm__ __volatile__("": : :"memory")

what does this mean ? is this like "nop" ?

TIA,
-hiren
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Fri Feb 23 2001 - 21:00:22 EST