aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/blktrace_api.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/blktrace_api.h')
-rw-r--r--include/linux/blktrace_api.h6
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 {
90 * The remap event 90 * The remap event
91 */ 91 */
92struct blk_io_trace_remap { 92struct blk_io_trace_remap {
93 u32 device; 93 __be32 device;
94 u32 __pad; 94 u32 __pad;
95 u64 sector; 95 __be64 sector;
96}; 96};
97 97
98enum { 98enum {
@@ -224,7 +224,7 @@ static inline void blk_add_trace_pdu_int(struct request_queue *q, u32 what,
224 struct bio *bio, unsigned int pdu) 224 struct bio *bio, unsigned int pdu)
225{ 225{
226 struct blk_trace *bt = q->blk_trace; 226 struct blk_trace *bt = q->blk_trace;
227 u64 rpdu = cpu_to_be64(pdu); 227 __be64 rpdu = cpu_to_be64(pdu);
228 228
229 if (likely(!bt)) 229 if (likely(!bt))
230 return; 230 return;