aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorDavid Woodhouse <dwmw2@infradead.org>2006-05-16 18:03:08 -0400
committerDavid Woodhouse <dwmw2@infradead.org>2006-05-16 18:03:08 -0400
commitba9627b85fcb5ed67285ca0711f0f4d1e965746e (patch)
tree4a21707583c0cbbcc63cc23f416b3fa2f609e1e0 /include/linux
parent35af68b53a62c98bf551aaae7be179bde248eb34 (diff)
[JFFS2] Repack some on-medium structures. ARM is weirder than I thought.
We have to pack at least the jint16_t structure, because otherwise it'll be four bytes in size. Thankfully, we can do that and _not_ pack the actual node structures, and the compiler still doesn't emit stupid code. Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/jffs2.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/linux/jffs2.h b/include/linux/jffs2.h
index 228ad72f7dd8..a26fbd498c79 100644
--- a/include/linux/jffs2.h
+++ b/include/linux/jffs2.h
@@ -82,15 +82,15 @@
82 82
83typedef struct { 83typedef struct {
84 uint32_t v32; 84 uint32_t v32;
85} jint32_t; 85} __attribute__((packed)) jint32_t;
86 86
87typedef struct { 87typedef struct {
88 uint32_t m; 88 uint32_t m;
89} jmode_t; 89} __attribute__((packed)) jmode_t;
90 90
91typedef struct { 91typedef struct {
92 uint16_t v16; 92 uint16_t v16;
93} jint16_t; 93} __attribute__((packed)) jint16_t;
94 94
95struct jffs2_unknown_node 95struct jffs2_unknown_node
96{ 96{