communication techniques bench: typo

This commit is contained in:
Thomas Preud'homme 2009-06-17 18:22:03 +02:00 committed by Thomas Preud'homme
parent 4cdee1503e
commit b522ce373f
1 changed files with 2 additions and 1 deletions

View File

@ -28,7 +28,8 @@ extern struct thread_comm *tcomms;
__BEGIN_DECLS
void init_thread_comm(void);
static inline void send(void **addr) {
static inline void send(void **addr)
{
asm volatile("mov %%gs:channel@NTPOFF + 2 *" toString(BUF_SIZE) " + " toString(CACHE_LINE_SIZE) ", %%eax\n\t"
"mov %0, %%gs:channel@NTPOFF(%%eax)\n\t"
"addl $4, %%eax\n\t"