[PATCH] PowerPC: add missing native dcr dcr_ind_lock spinlock

2008-02-04 Thread Valentine Barshak
The include/asm-powerpc/dcr-native.h declares extern spinlock_t dcr_ind_lock; but it's actually isn't defined. This patch adds a missing dcr_ind_lock. Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/dcr.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-)

Re: [PATCH] PowerPC: add missing native dcr dcr_ind_lock spinlock

2008-02-04 Thread Valentine Barshak
Oops, sorry, please discard this one. DEFINE_SPINLOCK should be used here. Valentine Barshak wrote: > The include/asm-powerpc/dcr-native.h declares extern spinlock_t dcr_ind_lock, > but it's actually isn't defined. This patch adds a missing dcr_ind_lock. > > Signed-off-by: Valentine Barshak <[EMA

[PATCH] PowerPC: add missing native dcr dcr_ind_lock spinlock

2008-02-04 Thread Valentine Barshak
The include/asm-powerpc/dcr-native.h declares extern spinlock_t dcr_ind_lock, but it's actually isn't defined. This patch adds a missing dcr_ind_lock. Signed-off-by: Valentine Barshak <[EMAIL PROTECTED]> --- arch/powerpc/sysdev/dcr.c |5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-)