git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was manufactured by cvs2svn to create tag
[linux-2.6.git]
/
include
/
xen
/
interface
/
io
/
ring.h
diff --git
a/include/xen/interface/io/ring.h
b/include/xen/interface/io/ring.h
index
3723ef3
..
6b56dc3
100644
(file)
--- a/
include/xen/interface/io/ring.h
+++ b/
include/xen/interface/io/ring.h
@@
-25,7
+25,7
@@
typedef unsigned int RING_IDX;
* power of two (so we can mask with (size-1) to loop around).
*/
#define __RING_SIZE(_s, _sz) \
* power of two (so we can mask with (size-1) to loop around).
*/
#define __RING_SIZE(_s, _sz) \
- (__RD32(((_sz) - (long)
&
(_s)->ring + (long)(_s)) / sizeof((_s)->ring[0])))
+ (__RD32(((_sz) - (long)(_s)->ring + (long)(_s)) / sizeof((_s)->ring[0])))
/*
* Macros to make the correct C datatypes for a new kind of ring.
/*
* Macros to make the correct C datatypes for a new kind of ring.