diff options
Diffstat (limited to 'include/asm-x86_64/msr.h')
-rw-r--r-- | include/asm-x86_64/msr.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/asm-x86_64/msr.h b/include/asm-x86_64/msr.h index ba15279a79d0..15a6ef7cf3d3 100644 --- a/include/asm-x86_64/msr.h +++ b/include/asm-x86_64/msr.h | |||
@@ -64,7 +64,7 @@ | |||
64 | : "=a" (low), "=d" (high) \ | 64 | : "=a" (low), "=d" (high) \ |
65 | : "c" (counter)) | 65 | : "c" (counter)) |
66 | 66 | ||
67 | extern inline void cpuid(int op, unsigned int *eax, unsigned int *ebx, | 67 | static inline void cpuid(int op, unsigned int *eax, unsigned int *ebx, |
68 | unsigned int *ecx, unsigned int *edx) | 68 | unsigned int *ecx, unsigned int *edx) |
69 | { | 69 | { |
70 | __asm__("cpuid" | 70 | __asm__("cpuid" |
@@ -90,7 +90,7 @@ static inline void cpuid_count(int op, int count, int *eax, int *ebx, int *ecx, | |||
90 | /* | 90 | /* |
91 | * CPUID functions returning a single datum | 91 | * CPUID functions returning a single datum |
92 | */ | 92 | */ |
93 | extern inline unsigned int cpuid_eax(unsigned int op) | 93 | static inline unsigned int cpuid_eax(unsigned int op) |
94 | { | 94 | { |
95 | unsigned int eax; | 95 | unsigned int eax; |
96 | 96 | ||
@@ -100,7 +100,7 @@ extern inline unsigned int cpuid_eax(unsigned int op) | |||
100 | : "bx", "cx", "dx"); | 100 | : "bx", "cx", "dx"); |
101 | return eax; | 101 | return eax; |
102 | } | 102 | } |
103 | extern inline unsigned int cpuid_ebx(unsigned int op) | 103 | static inline unsigned int cpuid_ebx(unsigned int op) |
104 | { | 104 | { |
105 | unsigned int eax, ebx; | 105 | unsigned int eax, ebx; |
106 | 106 | ||
@@ -110,7 +110,7 @@ extern inline unsigned int cpuid_ebx(unsigned int op) | |||
110 | : "cx", "dx" ); | 110 | : "cx", "dx" ); |
111 | return ebx; | 111 | return ebx; |
112 | } | 112 | } |
113 | extern inline unsigned int cpuid_ecx(unsigned int op) | 113 | static inline unsigned int cpuid_ecx(unsigned int op) |
114 | { | 114 | { |
115 | unsigned int eax, ecx; | 115 | unsigned int eax, ecx; |
116 | 116 | ||
@@ -120,7 +120,7 @@ extern inline unsigned int cpuid_ecx(unsigned int op) | |||
120 | : "bx", "dx" ); | 120 | : "bx", "dx" ); |
121 | return ecx; | 121 | return ecx; |
122 | } | 122 | } |
123 | extern inline unsigned int cpuid_edx(unsigned int op) | 123 | static inline unsigned int cpuid_edx(unsigned int op) |
124 | { | 124 | { |
125 | unsigned int eax, edx; | 125 | unsigned int eax, edx; |
126 | 126 | ||