]> xenbits.xensource.com Git - legacy/linux-2.6.18-xen.git/commitdiff
xen: re-synchronize ring.h public header
authorKeir Fraser <keir.fraser@citrix.com>
Wed, 7 Oct 2009 06:33:40 +0000 (07:33 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Wed, 7 Oct 2009 06:33:40 +0000 (07:33 +0100)
Patch 20267:e9366bed077e modified the definition of sring in the xen
repo's version of ring.h, but not the version in the linux kernel
repo. That change broke pause/resume/shutdown messages from the
blktap2 kernel module, which (for the time being) relies on pad[0]
being at consistent location in the sring struct.  This patch fixes
this regression by resyncronizing the two the files.

Signed off by: Jake Wires <Jake.Wires@citrix.com>

include/xen/interface/io/ring.h

index 6ce1d0d485fc884824be4951fcc23be9d6d8dafe..3c56bc2d62e634d73a9b5bdf9afee83a18e5134d 100644 (file)
@@ -97,7 +97,8 @@ union __name##_sring_entry {                                            \
 struct __name##_sring {                                                 \
     RING_IDX req_prod, req_event;                                       \
     RING_IDX rsp_prod, rsp_event;                                       \
-    uint8_t  pad[48];                                                   \
+    uint8_t  netfront_smartpoll_active;                                 \
+    uint8_t  pad[47];                                                   \
     union __name##_sring_entry ring[1]; /* variable-length */           \
 };                                                                      \
                                                                         \