diff options
Diffstat (limited to 'arch/mips/kernel/spram.c')
-rw-r--r-- | arch/mips/kernel/spram.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/mips/kernel/spram.c b/arch/mips/kernel/spram.c index 6af08d896e20..93f86817f20a 100644 --- a/arch/mips/kernel/spram.c +++ b/arch/mips/kernel/spram.c | |||
@@ -37,7 +37,7 @@ | |||
37 | /* | 37 | /* |
38 | * Different semantics to the set_c0_* function built by __BUILD_SET_C0 | 38 | * Different semantics to the set_c0_* function built by __BUILD_SET_C0 |
39 | */ | 39 | */ |
40 | static __cpuinit unsigned int bis_c0_errctl(unsigned int set) | 40 | static unsigned int bis_c0_errctl(unsigned int set) |
41 | { | 41 | { |
42 | unsigned int res; | 42 | unsigned int res; |
43 | res = read_c0_errctl(); | 43 | res = read_c0_errctl(); |
@@ -45,7 +45,7 @@ static __cpuinit unsigned int bis_c0_errctl(unsigned int set) | |||
45 | return res; | 45 | return res; |
46 | } | 46 | } |
47 | 47 | ||
48 | static __cpuinit void ispram_store_tag(unsigned int offset, unsigned int data) | 48 | static void ispram_store_tag(unsigned int offset, unsigned int data) |
49 | { | 49 | { |
50 | unsigned int errctl; | 50 | unsigned int errctl; |
51 | 51 | ||
@@ -64,7 +64,7 @@ static __cpuinit void ispram_store_tag(unsigned int offset, unsigned int data) | |||
64 | } | 64 | } |
65 | 65 | ||
66 | 66 | ||
67 | static __cpuinit unsigned int ispram_load_tag(unsigned int offset) | 67 | static unsigned int ispram_load_tag(unsigned int offset) |
68 | { | 68 | { |
69 | unsigned int data; | 69 | unsigned int data; |
70 | unsigned int errctl; | 70 | unsigned int errctl; |
@@ -82,7 +82,7 @@ static __cpuinit unsigned int ispram_load_tag(unsigned int offset) | |||
82 | return data; | 82 | return data; |
83 | } | 83 | } |
84 | 84 | ||
85 | static __cpuinit void dspram_store_tag(unsigned int offset, unsigned int data) | 85 | static void dspram_store_tag(unsigned int offset, unsigned int data) |
86 | { | 86 | { |
87 | unsigned int errctl; | 87 | unsigned int errctl; |
88 | 88 | ||
@@ -98,7 +98,7 @@ static __cpuinit void dspram_store_tag(unsigned int offset, unsigned int data) | |||
98 | } | 98 | } |
99 | 99 | ||
100 | 100 | ||
101 | static __cpuinit unsigned int dspram_load_tag(unsigned int offset) | 101 | static unsigned int dspram_load_tag(unsigned int offset) |
102 | { | 102 | { |
103 | unsigned int data; | 103 | unsigned int data; |
104 | unsigned int errctl; | 104 | unsigned int errctl; |
@@ -115,7 +115,7 @@ static __cpuinit unsigned int dspram_load_tag(unsigned int offset) | |||
115 | return data; | 115 | return data; |
116 | } | 116 | } |
117 | 117 | ||
118 | static __cpuinit void probe_spram(char *type, | 118 | static void probe_spram(char *type, |
119 | unsigned int base, | 119 | unsigned int base, |
120 | unsigned int (*read)(unsigned int), | 120 | unsigned int (*read)(unsigned int), |
121 | void (*write)(unsigned int, unsigned int)) | 121 | void (*write)(unsigned int, unsigned int)) |
@@ -196,7 +196,7 @@ static __cpuinit void probe_spram(char *type, | |||
196 | offset += 2 * SPRAM_TAG_STRIDE; | 196 | offset += 2 * SPRAM_TAG_STRIDE; |
197 | } | 197 | } |
198 | } | 198 | } |
199 | void __cpuinit spram_config(void) | 199 | void spram_config(void) |
200 | { | 200 | { |
201 | struct cpuinfo_mips *c = ¤t_cpu_data; | 201 | struct cpuinfo_mips *c = ¤t_cpu_data; |
202 | unsigned int config0; | 202 | unsigned int config0; |