Commit 03446643 authored by Anton Blanchard's avatar Anton Blanchard

ppc64: set medium HMT priority in __delay, it gets used outside of udelay

parent c9b7b826
...@@ -33,6 +33,7 @@ static inline void __delay(unsigned long loops) ...@@ -33,6 +33,7 @@ static inline void __delay(unsigned long loops)
while((__get_tb()-start) < loops) while((__get_tb()-start) < loops)
__HMT_low(); __HMT_low();
__HMT_medium();
} }
static inline void udelay(unsigned long usecs) static inline void udelay(unsigned long usecs)
...@@ -40,7 +41,6 @@ static inline void udelay(unsigned long usecs) ...@@ -40,7 +41,6 @@ static inline void udelay(unsigned long usecs)
unsigned long loops = tb_ticks_per_usec * usecs; unsigned long loops = tb_ticks_per_usec * usecs;
__delay(loops); __delay(loops);
__HMT_medium();
} }
#endif /* _PPC64_DELAY_H */ #endif /* _PPC64_DELAY_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment