Commit ec5995e8 authored by Alexander Viro's avatar Alexander Viro Committed by Linus Torvalds

[PATCH] acorn partitions endianness fixes

Signed-off-by: default avatarAl Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 8e3c6f5d
...@@ -61,7 +61,7 @@ struct riscix_part { ...@@ -61,7 +61,7 @@ struct riscix_part {
struct riscix_record { struct riscix_record {
__u32 magic; __u32 magic;
#define RISCIX_MAGIC (0x4a657320) #define RISCIX_MAGIC cpu_to_le32(0x4a657320)
__u32 date; __u32 date;
struct riscix_part part[8]; struct riscix_part part[8];
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment