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
/
psr.h
diff --git
a/include/asm-sparc/psr.h
b/include/asm-sparc/psr.h
index
9778b8c
..
19c9780
100644
(file)
--- a/
include/asm-sparc/psr.h
+++ b/
include/asm-sparc/psr.h
@@
-38,7
+38,7
@@
#ifndef __ASSEMBLY__
/* Get the %psr register. */
#ifndef __ASSEMBLY__
/* Get the %psr register. */
-
extern __inline__
unsigned int get_psr(void)
+
static inline
unsigned int get_psr(void)
{
unsigned int psr;
__asm__ __volatile__(
{
unsigned int psr;
__asm__ __volatile__(
@@
-53,7
+53,7
@@
extern __inline__ unsigned int get_psr(void)
return psr;
}
return psr;
}
-
extern __inline__
void put_psr(unsigned int new_psr)
+
static inline
void put_psr(unsigned int new_psr)
{
__asm__ __volatile__(
"wr %0, 0x0, %%psr\n\t"
{
__asm__ __volatile__(
"wr %0, 0x0, %%psr\n\t"
@@
-72,7
+72,7
@@
extern __inline__ void put_psr(unsigned int new_psr)
extern unsigned int fsr_storage;
extern unsigned int fsr_storage;
-
extern __inline__
unsigned int get_fsr(void)
+
static inline
unsigned int get_fsr(void)
{
unsigned int fsr = 0;
{
unsigned int fsr = 0;