git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
include
/
asm-sparc
/
cypress.h
diff --git
a/include/asm-sparc/cypress.h
b/include/asm-sparc/cypress.h
index
fc92fc8
..
9959953
100644
(file)
--- a/
include/asm-sparc/cypress.h
+++ b/
include/asm-sparc/cypress.h
@@
-48,25
+48,25
@@
#define CYPRESS_NFAULT 0x00000002
#define CYPRESS_MENABLE 0x00000001
#define CYPRESS_NFAULT 0x00000002
#define CYPRESS_MENABLE 0x00000001
-
extern __inline__
void cypress_flush_page(unsigned long page)
+
static inline
void cypress_flush_page(unsigned long page)
{
__asm__ __volatile__("sta %%g0, [%0] %1\n\t" : :
"r" (page), "i" (ASI_M_FLUSH_PAGE));
}
{
__asm__ __volatile__("sta %%g0, [%0] %1\n\t" : :
"r" (page), "i" (ASI_M_FLUSH_PAGE));
}
-
extern __inline__
void cypress_flush_segment(unsigned long addr)
+
static inline
void cypress_flush_segment(unsigned long addr)
{
__asm__ __volatile__("sta %%g0, [%0] %1\n\t" : :
"r" (addr), "i" (ASI_M_FLUSH_SEG));
}
{
__asm__ __volatile__("sta %%g0, [%0] %1\n\t" : :
"r" (addr), "i" (ASI_M_FLUSH_SEG));
}
-
extern __inline__
void cypress_flush_region(unsigned long addr)
+
static inline
void cypress_flush_region(unsigned long addr)
{
__asm__ __volatile__("sta %%g0, [%0] %1\n\t" : :
"r" (addr), "i" (ASI_M_FLUSH_REGION));
}
{
__asm__ __volatile__("sta %%g0, [%0] %1\n\t" : :
"r" (addr), "i" (ASI_M_FLUSH_REGION));
}
-
extern __inline__
void cypress_flush_context(void)
+
static inline
void cypress_flush_context(void)
{
__asm__ __volatile__("sta %%g0, [%%g0] %0\n\t" : :
"i" (ASI_M_FLUSH_CTX));
{
__asm__ __volatile__("sta %%g0, [%%g0] %0\n\t" : :
"i" (ASI_M_FLUSH_CTX));