提交 63731c96 编写于 作者: D David Daney 提交者: Ralf Baechle

MIPS: Fix __devinit __cpuinit confusion in cpu_cache_init

cpu_cache_init and the things it calls should all be __cpuinit instead
of __devinit.
Signed-off-by: NDavid Daney <ddaney@caviumnetworks.com>
To: linux-mips@linux-mips.org
Patchwork: http://patchwork.linux-mips.org/patch/938/Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 59d302b3
...@@ -174,7 +174,7 @@ static void octeon_flush_cache_page(struct vm_area_struct *vma, ...@@ -174,7 +174,7 @@ static void octeon_flush_cache_page(struct vm_area_struct *vma,
* Probe Octeon's caches * Probe Octeon's caches
* *
*/ */
static void __devinit probe_octeon(void) static void __cpuinit probe_octeon(void)
{ {
unsigned long icache_size; unsigned long icache_size;
unsigned long dcache_size; unsigned long dcache_size;
...@@ -235,7 +235,7 @@ static void __devinit probe_octeon(void) ...@@ -235,7 +235,7 @@ static void __devinit probe_octeon(void)
* Setup the Octeon cache flush routines * Setup the Octeon cache flush routines
* *
*/ */
void __devinit octeon_cache_init(void) void __cpuinit octeon_cache_init(void)
{ {
extern unsigned long ebase; extern unsigned long ebase;
extern char except_vec2_octeon; extern char except_vec2_octeon;
......
...@@ -155,7 +155,7 @@ static inline void setup_protection_map(void) ...@@ -155,7 +155,7 @@ static inline void setup_protection_map(void)
protection_map[15] = PAGE_SHARED; protection_map[15] = PAGE_SHARED;
} }
void __devinit cpu_cache_init(void) void __cpuinit cpu_cache_init(void)
{ {
if (cpu_has_3k_cache) { if (cpu_has_3k_cache) {
extern void __weak r3k_cache_init(void); extern void __weak r3k_cache_init(void);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册