Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 853265e5 authored by Valentine Barshak's avatar Valentine Barshak Committed by Josh Boyer
Browse files

[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: default avatarValentine Barshak <vbarshak@ru.mvista.com>
Signed-off-by: default avatarJosh Boyer <jwboyer@linux.vnet.ibm.com>
parent c41f4af8
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -137,5 +137,6 @@ void dcr_unmap(dcr_host_t host, unsigned int dcr_c)
	h.token = NULL;
}
EXPORT_SYMBOL_GPL(dcr_unmap);

#else	/* defined(CONFIG_PPC_DCR_NATIVE) */
DEFINE_SPINLOCK(dcr_ind_lock);
#endif	/* !defined(CONFIG_PPC_DCR_NATIVE) */