diff options
-rw-r--r-- | udelay.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -79,7 +79,11 @@ /* REP NOP (PAUSE) is a good thing to insert into busy-wait loops. */ static inline void rep_nop(void) { +#if defined (__i386__) || defined (__amd64__) __asm__ __volatile__("rep; nop"); +#else +#warning "please insert appropriate nop asm statement here" +#endif } void udelay_init(void); |