diff options
author | Adrian Bunk <bunk@kernel.org> | 2007-10-17 12:04:39 -0400 |
---|---|---|
committer | Thomas Gleixner <tglx@inhelltoy.tec.linutronix.de> | 2007-10-17 14:16:39 -0400 |
commit | 95c1e9aefa5d3a2dd61304797cad96e8fdcd95ce (patch) | |
tree | d59a6477e21ab1d0850e85403d6211b7c576de70 /include/asm-x86/mach-visws/cobalt.h | |
parent | 98c9e27a56a2d9f9148992b0b9a9a36760ea4eb9 (diff) |
x86: visws extern inline to static inline
"extern inline" will have different semantics with gcc 4.3.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
Acked-by: Andrey Panin <pazke@donpac.ru>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/asm-x86/mach-visws/cobalt.h')
-rw-r--r-- | include/asm-x86/mach-visws/cobalt.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/asm-x86/mach-visws/cobalt.h b/include/asm-x86/mach-visws/cobalt.h index 33c36225a042..995258831b7f 100644 --- a/include/asm-x86/mach-visws/cobalt.h +++ b/include/asm-x86/mach-visws/cobalt.h | |||
@@ -94,22 +94,22 @@ | |||
94 | #define CO_IRQ_8259 CO_IRQ(CO_APIC_8259) | 94 | #define CO_IRQ_8259 CO_IRQ(CO_APIC_8259) |
95 | 95 | ||
96 | #ifdef CONFIG_X86_VISWS_APIC | 96 | #ifdef CONFIG_X86_VISWS_APIC |
97 | extern __inline void co_cpu_write(unsigned long reg, unsigned long v) | 97 | static inline void co_cpu_write(unsigned long reg, unsigned long v) |
98 | { | 98 | { |
99 | *((volatile unsigned long *)(CO_CPU_VADDR+reg))=v; | 99 | *((volatile unsigned long *)(CO_CPU_VADDR+reg))=v; |
100 | } | 100 | } |
101 | 101 | ||
102 | extern __inline unsigned long co_cpu_read(unsigned long reg) | 102 | static inline unsigned long co_cpu_read(unsigned long reg) |
103 | { | 103 | { |
104 | return *((volatile unsigned long *)(CO_CPU_VADDR+reg)); | 104 | return *((volatile unsigned long *)(CO_CPU_VADDR+reg)); |
105 | } | 105 | } |
106 | 106 | ||
107 | extern __inline void co_apic_write(unsigned long reg, unsigned long v) | 107 | static inline void co_apic_write(unsigned long reg, unsigned long v) |
108 | { | 108 | { |
109 | *((volatile unsigned long *)(CO_APIC_VADDR+reg))=v; | 109 | *((volatile unsigned long *)(CO_APIC_VADDR+reg))=v; |
110 | } | 110 | } |
111 | 111 | ||
112 | extern __inline unsigned long co_apic_read(unsigned long reg) | 112 | static inline unsigned long co_apic_read(unsigned long reg) |
113 | { | 113 | { |
114 | return *((volatile unsigned long *)(CO_APIC_VADDR+reg)); | 114 | return *((volatile unsigned long *)(CO_APIC_VADDR+reg)); |
115 | } | 115 | } |