[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090207155039.3b6a7429@dhcp-100-2-144.bos.redhat.com>
Date: Sat, 7 Feb 2009 15:50:39 -0500
From: Chuck Ebbert <cebbert@...hat.com>
To: linux-kernel@...r.kernel.org
Cc: Chris Mason <chris.mason@...cle.com>, Ingo Molnar <mingo@...e.hu>
Subject: Build failure with latest -git: btrfs on ppc64
fs/btrfs/locking.c: In function 'btrfs_path_lock_waiting':
fs/btrfs/locking.c:254: error: implicit declaration of function '__raw_spin_is_contended'
Looks like spin_is_contended() is only available on mips and x86??
$ grep -R spin_is_contended *
arch/x86/include/asm/spinlock.h:static inline int __ticket_spin_is_contended(raw_spinlock_t *lock)
arch/x86/include/asm/spinlock.h: * __byte_spin_is_contended.
arch/x86/include/asm/spinlock.h:static inline int __byte_spin_is_contended(raw_spinlock_t *lock)
arch/x86/include/asm/spinlock.h:static inline int __raw_spin_is_contended(raw_spinlock_t *lock)
arch/x86/include/asm/spinlock.h: return __ticket_spin_is_contended(lock);
arch/x86/include/asm/paravirt.h: int (*spin_is_contended)(struct raw_spinlock *lock);
arch/x86/include/asm/paravirt.h:static inline int __raw_spin_is_contended(struct raw_spinlock *lock)
arch/x86/include/asm/paravirt.h: return PVOP_CALL1(int, pv_lock_ops.spin_is_contended, lock);
arch/x86/kernel/paravirt-spinlocks.c: .spin_is_contended = __ticket_spin_is_contended,
arch/x86/kernel/paravirt-spinlocks.c: pv_lock_ops.spin_is_contended = __byte_spin_is_contended;
arch/x86/xen/spinlock.c:static int xen_spin_is_contended(struct raw_spinlock *lock)
arch/x86/xen/spinlock.c: pv_lock_ops.spin_is_contended = xen_spin_is_contended;
arch/mips/include/asm/spinlock.h:static inline int __raw_spin_is_contended(raw_spinlock_t *lock)
fs/btrfs/locking.c: if (spin_is_contended(&eb->lock) ||
include/linux/spinlock.h:#define spin_is_contended(lock) ((lock)->break_lock)
include/linux/spinlock.h:#define spin_is_contended(lock) __raw_spin_is_contended(&(lock)->raw_lock)
include/linux/sched.h: return spin_is_contended(lock);
include/linux/spinlock_up.h:#define __raw_spin_is_contended(lock) (((void)(lock), 0))
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists