Signed-off-by: Alexey Dobriyan <[email protected]>
---
include/linux/blktrace_api.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
--- a/include/linux/blktrace_api.h
+++ b/include/linux/blktrace_api.h
@@ -89,13 +89,13 @@ struct blk_io_trace {
/*
* The remap event
*/
struct blk_io_trace_remap {
- u32 device;
+ __be32 device;
u32 __pad;
- u64 sector;
+ __be64 sector;
};
enum {
Blktrace_setup = 1,
Blktrace_running,
@@ -223,11 +223,11 @@ static inline void blk_add_trace_generic
**/
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;
if (bio)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]