projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a038e25
)
[PATCH] blktrace_api.h: endian annotations
author
Alexey Dobriyan
<adobriyan@gmail.com>
Mon, 5 Jun 2006 10:09:50 +0000
(12:09 +0200)
committer
Jens Axboe
<axboe@nelson.home.kernel.dk>
Fri, 23 Jun 2006 15:10:38 +0000
(17:10 +0200)
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Jens Axboe <axboe@suse.de>
include/linux/blktrace_api.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/blktrace_api.h
b/include/linux/blktrace_api.h
index eb1a867ed2459031bc3af14fdce41c4b72eda559..a7e8cef73d1552589bb8f86b71dcf570b06bcd02 100644
(file)
--- 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 {
-
u
32 device;
+
__be
32 device;
u32 __pad;
-
u
64 sector;
+
__be
64 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;
-
u
64 rpdu = cpu_to_be64(pdu);
+
__be
64 rpdu = cpu_to_be64(pdu);
if (likely(!bt))
return;