diff options
author | Reinhard Tartler <siretart@tauware.de> | 2006-08-27 14:54:30 +0200 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2006-08-27 14:54:30 +0200 |
commit | 9906b6c59c760b20ebf1e5466861bf7e573a8c6e (patch) | |
tree | 9f571da957cd62601405b78d154022fd455a5297 | |
parent | 3badd5e2c6de1f35bed33338a0fdcec7f57be0ea (diff) | |
download | lcd4linux-9906b6c59c760b20ebf1e5466861bf7e573a8c6e.tar.gz |
fix FTBFS on other arches
Diffstat (limited to '')
-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); |