projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'for-linus' of master.kernel.org:/pub/scm/linux/kernel/git/cooloney...
[powerpc.git]
/
include
/
asm-parisc
/
prefetch.h
diff --git
a/include/asm-parisc/prefetch.h
b/include/asm-parisc/prefetch.h
index
5d02172
..
c5edc60
100644
(file)
--- a/
include/asm-parisc/prefetch.h
+++ b/
include/asm-parisc/prefetch.h
@@
-19,7
+19,7
@@
#ifdef CONFIG_PREFETCH
#define ARCH_HAS_PREFETCH
#ifdef CONFIG_PREFETCH
#define ARCH_HAS_PREFETCH
-
extern
inline void prefetch(const void *addr)
+
static
inline void prefetch(const void *addr)
{
__asm__("ldw 0(%0), %%r0" : : "r" (addr));
}
{
__asm__("ldw 0(%0), %%r0" : : "r" (addr));
}
@@
-27,7
+27,7
@@
extern inline void prefetch(const void *addr)
/* LDD is a PA2.0 addition. */
#ifdef CONFIG_PA20
#define ARCH_HAS_PREFETCHW
/* LDD is a PA2.0 addition. */
#ifdef CONFIG_PA20
#define ARCH_HAS_PREFETCHW
-
extern
inline void prefetchw(const void *addr)
+
static
inline void prefetchw(const void *addr)
{
__asm__("ldd 0(%0), %%r0" : : "r" (addr));
}
{
__asm__("ldd 0(%0), %%r0" : : "r" (addr));
}