File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ config ARM
5
5
select ARCH_32BIT_OFF_T
6
6
select ARCH_CORRECT_STACKTRACE_ON_KRETPROBE if HAVE_KRETPROBES && FRAME_POINTER && !ARM_UNWIND
7
7
select ARCH_HAS_BINFMT_FLAT
8
+ select ARCH_HAS_CPU_FINALIZE_INIT if MMU
8
9
select ARCH_HAS_CURRENT_STACK_POINTER
9
10
select ARCH_HAS_DEBUG_VIRTUAL if MMU
10
11
select ARCH_HAS_DMA_WRITE_COMBINE if !ARM_DMA_MEM_BUFFERABLE
Original file line number Diff line number Diff line change 1
1
/* SPDX-License-Identifier: GPL-2.0-only */
2
2
/*
3
- * arch/arm/include/asm/bugs.h
4
- *
5
3
* Copyright (C) 1995-2003 Russell King
6
4
*/
7
5
#ifndef __ASM_BUGS_H
10
8
extern void check_writebuffer_bugs (void );
11
9
12
10
#ifdef CONFIG_MMU
13
- extern void check_bugs (void );
14
11
extern void check_other_bugs (void );
15
12
#else
16
- #define check_bugs () do { } while (0)
17
13
#define check_other_bugs () do { } while (0)
18
14
#endif
19
15
Original file line number Diff line number Diff line change 1
1
// SPDX-License-Identifier: GPL-2.0
2
2
#include <linux/init.h>
3
+ #include <linux/cpu.h>
3
4
#include <asm/bugs.h>
4
5
#include <asm/proc-fns.h>
5
6
@@ -11,7 +12,7 @@ void check_other_bugs(void)
11
12
#endif
12
13
}
13
14
14
- void __init check_bugs (void )
15
+ void __init arch_cpu_finalize_init (void )
15
16
{
16
17
check_writebuffer_bugs ();
17
18
check_other_bugs ();
You can’t perform that action at this time.
0 commit comments