Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=853265e588153dca22c82b84df39bbb40abd7ad0
Commit:     853265e588153dca22c82b84df39bbb40abd7ad0
Parent:     c41f4af8fef6ef5bec7c9d2335ba19636058d2a7
Author:     Valentine Barshak <[EMAIL PROTECTED]>
AuthorDate: Tue Feb 5 01:57:55 2008 +1100
Committer:  Josh Boyer <[EMAIL PROTECTED]>
CommitDate: Wed Feb 6 21:02:56 2008 -0600

    [POWERPC] Add missing native dcr dcr_ind_lock spinlock
    
    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]>
    Signed-off-by: Josh Boyer <[EMAIL PROTECTED]>
---
 arch/powerpc/sysdev/dcr.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/arch/powerpc/sysdev/dcr.c b/arch/powerpc/sysdev/dcr.c
index 427027c..437e48d 100644
--- a/arch/powerpc/sysdev/dcr.c
+++ b/arch/powerpc/sysdev/dcr.c
@@ -137,5 +137,6 @@ void dcr_unmap(dcr_host_t host, unsigned int dcr_c)
        h.token = NULL;
 }
 EXPORT_SYMBOL_GPL(dcr_unmap);
-
-#endif /* !defined(CONFIG_PPC_DCR_NATIVE) */
+#else  /* defined(CONFIG_PPC_DCR_NATIVE) */
+DEFINE_SPINLOCK(dcr_ind_lock);
+#endif /* !defined(CONFIG_PPC_DCR_NATIVE) */
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to