Hi, All,
I used two spinlocks in my code, and I enabled the following CONFIGs
for debugging.
CONFIG_DEBUG_SPINLOCK=y
CONFIG_DEBUG_LOCK_ALLOC=y
CONFIG_PROVE_LOCKING=y
CONFIG_DEBUG_LOCKDEP=y
void abc_init(struct abc_dev *dev)
{
spin_lock_init(>locka);
spin_lock_init(>lockb);
}
void
Hi, All,
I used two spinlocks in my code, and I enabled the following CONFIGs
for debugging.
CONFIG_DEBUG_SPINLOCK=y
CONFIG_DEBUG_LOCK_ALLOC=y
CONFIG_PROVE_LOCKING=y
CONFIG_DEBUG_LOCKDEP=y
void abc_init(struct abc_dev *dev)
{
spin_lock_init(dev-locka);
spin_lock_init(dev-lockb);
}
void
2 matches
Mail list logo