X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?p=pandora-kernel.git;a=blobdiff_plain;f=drivers%2Fblock%2Fxen-blkback%2Fcommon.h;h=4a5f21e87a80b87fe698e74d119186839e668ac4;hp=2c6205e502eff4c4b02c5917d3846f317da3f164;hb=cc21fe1ff77acfab555df5577ea46fc89932f3b2;hpb=b8f254aa17f720053054c4ecff3920973a83b9d6 diff --git a/drivers/block/xen-blkback/common.h b/drivers/block/xen-blkback/common.h index 2c6205e502ef..4a5f21e87a80 100644 --- a/drivers/block/xen-blkback/common.h +++ b/drivers/block/xen-blkback/common.h @@ -56,9 +56,6 @@ struct blkif_common_request { char dummy; }; -struct blkif_common_response { - char dummy; -}; /* i386 protocol version */ #pragma pack(push, 4) @@ -83,11 +80,6 @@ struct blkif_x86_32_request { struct blkif_x86_32_request_discard discard; } u; }; -struct blkif_x86_32_response { - uint64_t id; /* copied from request */ - uint8_t operation; /* copied from request */ - int16_t status; /* BLKIF_RSP_??? */ -}; #pragma pack(pop) /* x86_64 protocol version */ @@ -112,18 +104,13 @@ struct blkif_x86_64_request { struct blkif_x86_64_request_discard discard; } u; }; -struct blkif_x86_64_response { - uint64_t __attribute__((__aligned__(8))) id; - uint8_t operation; /* copied from request */ - int16_t status; /* BLKIF_RSP_??? */ -}; DEFINE_RING_TYPES(blkif_common, struct blkif_common_request, - struct blkif_common_response); + struct blkif_response); DEFINE_RING_TYPES(blkif_x86_32, struct blkif_x86_32_request, - struct blkif_x86_32_response); + struct blkif_response __packed); DEFINE_RING_TYPES(blkif_x86_64, struct blkif_x86_64_request, - struct blkif_x86_64_response); + struct blkif_response); union blkif_back_rings { struct blkif_back_ring native;