2008-05-10 Till Straumann <strauman@slac.stanford.edu>

* network/tsec.c: removed memory input/output operands
	which caused problems with gcc-4.3.0 (see
	http://gcc.gnu.org/ml/gcc/2008-03/msg00976.html)
This commit is contained in:
Till Straumann
2008-05-10 21:03:13 +00:00
parent 397afef4b3
commit c14e845bfc
2 changed files with 7 additions and 1 deletions

View File

@@ -1,3 +1,9 @@
2008-05-10 Till Straumann <strauman@slac.stanford.edu>
* network/tsec.c: removed memory input/output operands
which caused problems with gcc-4.3.0 (see
http://gcc.gnu.org/ml/gcc/2008-03/msg00976.html)
2008-03-25 Till Straumann <strauman@slac.stanford.edu>
* include/bsp.h: declare BSP_commandline_string.

View File

@@ -425,7 +425,7 @@ static inline void membarrier()
asm volatile("sync":::"memory");
}
#define EIEIO(mem) do { asm volatile("eieio":"=m"(mem):"m"(mem)); } while (0)
#define EIEIO(mem) do { asm volatile("eieio"); } while (0)
#else
#error "memory barrier not implemented for your CPU architecture"