ia64/xen-unstable
changeset 11737:a5a3f48e92c9
Remove redundant '&' before array name in __RING_SIZE macro.
Signed-off-by: Richard Miller <9xen@hamnavoe.com>
Signed-off-by: Richard Miller <9xen@hamnavoe.com>
author | kfraser@localhost.localdomain |
---|---|
date | Wed Oct 04 19:00:11 2006 +0100 (2006-10-04) |
parents | 2dd375ce153d |
children | 0dc4ae151be2 |
files | xen/include/public/io/ring.h |
line diff
1.1 --- a/xen/include/public/io/ring.h Wed Oct 04 18:55:16 2006 +0100 1.2 +++ b/xen/include/public/io/ring.h Wed Oct 04 19:00:11 2006 +0100 1.3 @@ -25,7 +25,7 @@ typedef unsigned int RING_IDX; 1.4 * power of two (so we can mask with (size-1) to loop around). 1.5 */ 1.6 #define __RING_SIZE(_s, _sz) \ 1.7 - (__RD32(((_sz) - (long)&(_s)->ring + (long)(_s)) / sizeof((_s)->ring[0]))) 1.8 + (__RD32(((_sz) - (long)(_s)->ring + (long)(_s)) / sizeof((_s)->ring[0]))) 1.9 1.10 /* 1.11 * Macros to make the correct C datatypes for a new kind of ring.