]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - include/linux/prefetch.h
OMAP: dmtimer: enable all timers to be wakeup events
[linux-2.6-omap-h63xx.git] / include / linux / prefetch.h
index 1adfe668d031ff62485cd2fb5071bdfa85b7b952..af7c36a5a521e8048238b30521470b0b0b73e27c 100644 (file)
        
 */
 
-/*
- *     These cannot be do{}while(0) macros. See the mental gymnastics in
- *     the loop macro.
- */
 #ifndef ARCH_HAS_PREFETCH
-static inline void prefetch(const void *x) {;}
+#define prefetch(x) __builtin_prefetch(x)
 #endif
 
 #ifndef ARCH_HAS_PREFETCHW
-static inline void prefetchw(const void *x) {;}
+#define prefetchw(x) __builtin_prefetch(x,1)
 #endif
 
 #ifndef ARCH_HAS_SPINLOCK_PREFETCH