diff options
Diffstat (limited to 'include/linux/blktrace_api.h')
-rw-r--r-- | include/linux/blktrace_api.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/include/linux/blktrace_api.h b/include/linux/blktrace_api.h index b34d3e73d5ea..a7e8cef73d15 100644 --- a/include/linux/blktrace_api.h +++ b/include/linux/blktrace_api.h | |||
@@ -1,7 +1,6 @@ | |||
1 | #ifndef BLKTRACE_H | 1 | #ifndef BLKTRACE_H |
2 | #define BLKTRACE_H | 2 | #define BLKTRACE_H |
3 | 3 | ||
4 | #include <linux/config.h> | ||
5 | #include <linux/blkdev.h> | 4 | #include <linux/blkdev.h> |
6 | #include <linux/relay.h> | 5 | #include <linux/relay.h> |
7 | 6 | ||
@@ -91,9 +90,9 @@ struct blk_io_trace { | |||
91 | * The remap event | 90 | * The remap event |
92 | */ | 91 | */ |
93 | struct blk_io_trace_remap { | 92 | struct blk_io_trace_remap { |
94 | u32 device; | 93 | __be32 device; |
95 | u32 __pad; | 94 | u32 __pad; |
96 | u64 sector; | 95 | __be64 sector; |
97 | }; | 96 | }; |
98 | 97 | ||
99 | enum { | 98 | enum { |
@@ -225,7 +224,7 @@ static inline void blk_add_trace_pdu_int(struct request_queue *q, u32 what, | |||
225 | struct bio *bio, unsigned int pdu) | 224 | struct bio *bio, unsigned int pdu) |
226 | { | 225 | { |
227 | struct blk_trace *bt = q->blk_trace; | 226 | struct blk_trace *bt = q->blk_trace; |
228 | u64 rpdu = cpu_to_be64(pdu); | 227 | __be64 rpdu = cpu_to_be64(pdu); |
229 | 228 | ||
230 | if (likely(!bt)) | 229 | if (likely(!bt)) |
231 | return; | 230 | return; |