summaryrefslogtreecommitdiffstats
path: root/base/reiserfsprogs/reiserfsprogs-3.6.19.patch
blob: 7c24501a7e4b815e5be71af86d74bae5c9c5799c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
diff -ru reiserfsprogs-3.6.19/include/reiserfs_fs.h reiserfsprogs-3.6.19-new/include/reiserfs_fs.h
--- reiserfsprogs-3.6.19/include/reiserfs_fs.h	2004-09-16 09:49:05.000000000 +0200
+++ reiserfsprogs-3.6.19-new/include/reiserfs_fs.h	2004-10-19 22:56:51.086278496 +0200
@@ -38,7 +38,8 @@
 # define extern_inline
 #endif
 
-#include <asm/unaligned.h>
+#define get_unaligned(ptr) (*(ptr))
+#define put_unaligned(val, ptr) ((void)( *(ptr) = (val)))
 
 #ifndef get_unaligned
 #if defined(__ppc__) || defined(ppc) || defined(__ppc) || \