diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2006-06-05 12:09:50 +0200 |
---|---|---|
committer | Jens Axboe <axboe@nelson.home.kernel.dk> | 2006-06-23 17:10:38 +0200 |
commit | fda151d9feafc0e8418f23c716587c44394fcdbf (patch) | |
tree | 741684efbeb8b5fe881e28875bba5d619482561b /include/linux/blktrace_api.h | |
parent | a038e2536472b4dd932399b5277e65f188811de5 (diff) | |
download | blackbird-op-linux-fda151d9feafc0e8418f23c716587c44394fcdbf.tar.gz blackbird-op-linux-fda151d9feafc0e8418f23c716587c44394fcdbf.zip |
[PATCH] blktrace_api.h: endian annotations
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jens Axboe <axboe@suse.de>
Diffstat (limited to 'include/linux/blktrace_api.h')
-rw-r--r-- | include/linux/blktrace_api.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/blktrace_api.h b/include/linux/blktrace_api.h index eb1a867ed245..a7e8cef73d15 100644 --- a/include/linux/blktrace_api.h +++ b/include/linux/blktrace_api.h @@ -90,9 +90,9 @@ struct blk_io_trace { * The remap event */ struct blk_io_trace_remap { - u32 device; + __be32 device; u32 __pad; - u64 sector; + __be64 sector; }; enum { @@ -224,7 +224,7 @@ static inline void blk_add_trace_pdu_int(struct request_queue *q, u32 what, struct bio *bio, unsigned int pdu) { struct blk_trace *bt = q->blk_trace; - u64 rpdu = cpu_to_be64(pdu); + __be64 rpdu = cpu_to_be64(pdu); if (likely(!bt)) return; |