projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] hrtimers; add state tracking
[powerpc.git]
/
include
/
asm-parisc
/
prefetch.h
diff --git
a/include/asm-parisc/prefetch.h
b/include/asm-parisc/prefetch.h
index
f5a2e7a
..
5d02172
100644
(file)
--- a/
include/asm-parisc/prefetch.h
+++ b/
include/asm-parisc/prefetch.h
@@
-24,11
+24,14
@@
extern inline void prefetch(const void *addr)
__asm__("ldw 0(%0), %%r0" : : "r" (addr));
}
__asm__("ldw 0(%0), %%r0" : : "r" (addr));
}
+/* LDD is a PA2.0 addition. */
+#ifdef CONFIG_PA20
#define ARCH_HAS_PREFETCHW
extern inline void prefetchw(const void *addr)
{
__asm__("ldd 0(%0), %%r0" : : "r" (addr));
}
#define ARCH_HAS_PREFETCHW
extern inline void prefetchw(const void *addr)
{
__asm__("ldd 0(%0), %%r0" : : "r" (addr));
}
+#endif /* CONFIG_PA20 */
#endif /* CONFIG_PREFETCH */
#endif /* __ASSEMBLY__ */
#endif /* CONFIG_PREFETCH */
#endif /* __ASSEMBLY__ */