Skip to content

Commit

Permalink
squash: dwc_otg: Allow to build without SMP
Browse files Browse the repository at this point in the history
  • Loading branch information
popcornmix committed May 5, 2015
1 parent 12149d4 commit ef26594
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/usb/host/dwc_otg/dwc_otg_fiq_fsm.c
Expand Up @@ -78,7 +78,7 @@ void notrace _fiq_print(enum fiq_debug_level dbg_lvl, volatile struct fiq_state
* fiq_fsm_spin_lock() - ARMv6+ bare bones spinlock
* Must be called with local interrupts and FIQ disabled.
*/
#ifdef CONFIG_ARCH_BCM2709
#if defined(CONFIG_ARCH_BCM2709) && defined(CONFIG_SMP)
inline void fiq_fsm_spin_lock(fiq_lock_t *lock)
{
unsigned long tmp;
Expand Down Expand Up @@ -111,7 +111,7 @@ inline void fiq_fsm_spin_lock(fiq_lock_t *lock) { }
/**
* fiq_fsm_spin_unlock() - ARMv6+ bare bones spinunlock
*/
#ifdef CONFIG_ARCH_BCM2709
#if defined(CONFIG_ARCH_BCM2709) && defined(CONFIG_SMP)
inline void fiq_fsm_spin_unlock(fiq_lock_t *lock)
{
smp_mb();
Expand Down

0 comments on commit ef26594

Please sign in to comment.