diff options
author | Adrian Bunk <bunk@stusta.de> | 2005-10-03 17:37:02 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-10-03 17:37:02 -0700 |
commit | 3115624eda34d0f4e673fc6bcea36b7ad701ee33 (patch) | |
tree | a81c9e0f3d84a96725e109452d4ddc90f95b513a /include/asm-sparc/psr.h | |
parent | ed39f731ab2e77e58122232f6e27333331d7793d (diff) | |
download | op-kernel-dev-3115624eda34d0f4e673fc6bcea36b7ad701ee33.zip op-kernel-dev-3115624eda34d0f4e673fc6bcea36b7ad701ee33.tar.gz |
[SPARC]: "extern inline" doesn't make much sense.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/asm-sparc/psr.h')
-rw-r--r-- | include/asm-sparc/psr.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/asm-sparc/psr.h b/include/asm-sparc/psr.h index 9778b8c..19c9780 100644 --- a/include/asm-sparc/psr.h +++ b/include/asm-sparc/psr.h @@ -38,7 +38,7 @@ #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__( @@ -53,7 +53,7 @@ extern __inline__ unsigned int get_psr(void) 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" @@ -72,7 +72,7 @@ extern __inline__ void put_psr(unsigned int new_psr) extern unsigned int fsr_storage; -extern __inline__ unsigned int get_fsr(void) +static inline unsigned int get_fsr(void) { unsigned int fsr = 0; |