diff options
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 | } |