mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-18 00:24:58 +08:00
[MIPS] IP22: Fix modpost warning.
MODPOST vmlinux.o WARNING: vmlinux.o(.text+0xc70): Section mismatch: reference to .init.text:add_memory_region (between 'probe_memory' and 'enable_local0_irq') Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
9975e77df5
commit
5bd080f7d2
@ -47,7 +47,7 @@ struct mem {
|
||||
/*
|
||||
* Detect installed memory, do some sanity checks and notify kernel about it
|
||||
*/
|
||||
static void probe_memory(void)
|
||||
static void __init probe_memory(void)
|
||||
{
|
||||
int i, j, found, cnt = 0;
|
||||
struct mem bank[4];
|
||||
|
Loading…
Reference in New Issue
Block a user