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

Commit 83598f1c authored by Deepak Saxena's avatar Deepak Saxena Committed by Ralf Baechle
Browse files

[MIPS] Make MIPS udelay() preempt safe under DEBUG_PREEMPT

parent c9d06962
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -79,7 +79,7 @@ static inline void __udelay(unsigned long usecs, unsigned long lpj)
	__delay(usecs);
}

#define __udelay_val cpu_data[smp_processor_id()].udelay_val
#define __udelay_val cpu_data[raw_smp_processor_id()].udelay_val

#define udelay(usecs) __udelay((usecs),__udelay_val)