summaryrefslogtreecommitdiff
path: root/packages/linux/ixp4xx-kernel/2.6.15/19-jffs2-force-be.patch
blob: 09379031ddfba94ec3f27ec92ba4c21877931385 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- linux-2.6.15/fs/jffs2/nodelist.h	1970-01-01 00:00:00.000000000 +0000
+++ linux-2.6.15/fs/jffs2/nodelist.h	1970-01-01 00:00:00.000000000 +0000
@@ -44,7 +44,9 @@
 #define D2(x)
 #endif
 
-#define JFFS2_NATIVE_ENDIAN
+#undef JFFS2_NATIVE_ENDIAN
+#define JFFS2_BIG_ENDIAN 1
+#undef JFFS2_LITTLE_ENDIAN
 
 /* Note we handle mode bits conversion from JFFS2 (i.e. Linux) to/from
    whatever OS we're actually running on here too. */