aboutsummaryrefslogtreecommitdiff
path: root/include/xen/blkif.h
diff options
context:
space:
mode:
authorKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-05-11 16:23:39 -0400
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-05-12 16:43:20 -0400
commit68c88dd7d3caf1737112238fbe91cccd8e7a69fc (patch)
tree48d0d90892fc5de5d2a2c632f807a34f5794f53c /include/xen/blkif.h
parent72468bfcb815bc9875a870973469f68e20c78717 (diff)
xen/blkback: Move blkif_get_x86_[32|64]_req to common.h in block/xen-blkback dir.
From the blkif.h header, which was exposed to the frontend. Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'include/xen/blkif.h')
-rw-r--r--include/xen/blkif.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/include/xen/blkif.h b/include/xen/blkif.h
index ab794269fc5..6ed7c01253b 100644
--- a/include/xen/blkif.h
+++ b/include/xen/blkif.h
@@ -89,34 +89,4 @@ enum blkif_protocol {
BLKIF_PROTOCOL_X86_64 = 3,
};
-static void inline blkif_get_x86_32_req(struct blkif_request *dst, struct blkif_x86_32_request *src)
-{
- int i, n = BLKIF_MAX_SEGMENTS_PER_REQUEST;
- dst->operation = src->operation;
- dst->nr_segments = src->nr_segments;
- dst->handle = src->handle;
- dst->id = src->id;
- dst->u.rw.sector_number = src->sector_number;
- barrier();
- if (n > dst->nr_segments)
- n = dst->nr_segments;
- for (i = 0; i < n; i++)
- dst->u.rw.seg[i] = src->seg[i];
-}
-
-static void inline blkif_get_x86_64_req(struct blkif_request *dst, struct blkif_x86_64_request *src)
-{
- int i, n = BLKIF_MAX_SEGMENTS_PER_REQUEST;
- dst->operation = src->operation;
- dst->nr_segments = src->nr_segments;
- dst->handle = src->handle;
- dst->id = src->id;
- dst->u.rw.sector_number = src->sector_number;
- barrier();
- if (n > dst->nr_segments)
- n = dst->nr_segments;
- for (i = 0; i < n; i++)
- dst->u.rw.seg[i] = src->seg[i];
-}
-
#endif /* __XEN_BLKIF_H__ */