]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/powerpc/sysdev/dcr.c
Merge branch 'orion-fixes2'
[linux-2.6-omap-h63xx.git] / arch / powerpc / sysdev / dcr.c
index 427027c7ea0f61fbeeb7192f2c1125cb64246d22..437e48d3ae3340d5817c10f20d2a6dfc8276daeb 100644 (file)
@@ -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) */