projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9975e77
)
[MIPS] IP22: Fix modpost warning.
author
Ralf Baechle
<ralf@linux-mips.org>
Mon, 13 Aug 2007 11:47:17 +0000
(12:47 +0100)
committer
Ralf Baechle
<ralf@linux-mips.org>
Mon, 27 Aug 2007 01:16:56 +0000
(
02:16
+0100)
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>
arch/mips/sgi-ip22/ip22-mc.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/sgi-ip22/ip22-mc.c
b/arch/mips/sgi-ip22/ip22-mc.c
index ddb6506d8341e2b2b14a404fc349254f549dbd17..01a805dcc67c3896dc32b88c1e6d17dedaabd9ad 100644
(file)
--- a/
arch/mips/sgi-ip22/ip22-mc.c
+++ b/
arch/mips/sgi-ip22/ip22-mc.c
@@
-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];