Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 147977
b: refs/heads/master
c: f7027c6
h: refs/heads/master
i:
  147975: 98c4ea2
v: v3
  • Loading branch information
Rusty Russell committed Jun 12, 2009
1 parent c835a76 commit 67bf522
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1028375e93a7aa4dbe466947d1c65f368b1f61c1
refs/heads/master: f7027c6387d0c3acf569845165ec7947e2083c82
7 changes: 4 additions & 3 deletions trunk/Documentation/lguest/lguest.c
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,10 @@ struct virtqueue
/* Remember the arguments to the program so we can "reboot" */
static char **main_args;

/* Since guest is UP and we don't run at the same time, we don't need barriers.
* But I include them in the code in case others copy it. */
#define wmb()
/* We have to be careful with barriers: our devices are all run in separate
* threads and so we need to make sure that changes visible to the Guest happen
* in precise order. */
#define wmb() __asm__ __volatile__("" : : : "memory")

/* Convert an iovec element to the given type.
*
Expand Down

0 comments on commit 67bf522

Please sign in to comment.