rpms/kernel/devel linux-2.6-compile-fixes.patch,1.190,1.191
Chuck Ebbert
cebbert at fedoraproject.org
Sun Feb 8 18:00:00 UTC 2009
- Previous message (by thread): rpms/kernel/F-10 linux-2.6-compile-fixes.patch,1.184,1.185
- Next message (by thread): rpms/backup-manager/EL-5 backup-manager-0.7.8-configtpl.patch, NONE, 1.1 .cvsignore, 1.2, 1.3 backup-manager.spec, 1.1, 1.2 sources, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: cebbert
Update of /cvs/pkgs/rpms/kernel/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21312
Modified Files:
linux-2.6-compile-fixes.patch
Log Message:
fix btrfs build on ppc64
linux-2.6-compile-fixes.patch:
Index: linux-2.6-compile-fixes.patch
===================================================================
RCS file: /cvs/pkgs/rpms/kernel/devel/linux-2.6-compile-fixes.patch,v
retrieving revision 1.190
retrieving revision 1.191
diff -u -r1.190 -r1.191
--- linux-2.6-compile-fixes.patch 2 Feb 2009 21:48:43 -0000 1.190
+++ linux-2.6-compile-fixes.patch 8 Feb 2009 17:59:29 -0000 1.191
@@ -4,3 +4,23 @@
# Please add the errors from gcc before the diffs to save others having
# to do a compile to figure out what your diff is fixing. Thanks.
#
+
+ btrfs does not build on ppc64
+ http://marc.info/?l=linux-kernel&m=123404002114219&w=2
+ fs/btrfs/locking.c: In function 'btrfs_path_lock_waiting':
+ fs/btrfs/locking.c:254: error: implicit declaration of function '__raw_spin_is_contended'
+
+Index: linux-2.6.28.noarch/fs/btrfs/locking.c
+===================================================================
+--- linux-2.6.28.noarch.orig/fs/btrfs/locking.c
++++ linux-2.6.28.noarch/fs/btrfs/locking.c
+@@ -241,6 +241,9 @@ int btrfs_tree_locked(struct extent_buff
+ * btrfs_search_slot uses this to decide if it should drop its locks
+ * before doing something expensive like allocating free blocks for cow.
+ */
++#ifndef __raw_spin_is_contended
++#define spin_is_contended(x) (0)
++#endif
+ int btrfs_path_lock_waiting(struct btrfs_path *path, int level)
+ {
+ int i;
- Previous message (by thread): rpms/kernel/F-10 linux-2.6-compile-fixes.patch,1.184,1.185
- Next message (by thread): rpms/backup-manager/EL-5 backup-manager-0.7.8-configtpl.patch, NONE, 1.1 .cvsignore, 1.2, 1.3 backup-manager.spec, 1.1, 1.2 sources, 1.2, 1.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list