Skip to content

Commit

Permalink
[PATCH] blktrace_api.h: endian annotations
Browse files Browse the repository at this point in the history
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jens Axboe <axboe@suse.de>
  • Loading branch information
Alexey Dobriyan authored and Jens Axboe committed Jun 23, 2006
1 parent a038e25 commit fda151d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/linux/blktrace_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit fda151d

Please sign in to comment.