31 lines
890 B
Diff
31 lines
890 B
Diff
Subject: [PATCH] m68k: Remove unnecessary m68k_memoffset export and init
|
|
|
|
From: Roman Zippel <zippel@linux-m68k.org>
|
|
|
|
Remove an unnecessary m68k_memoffset export and initialization
|
|
|
|
Signed-off-by: Roman Zippel <zippel@linux-m68k.org>
|
|
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
|
|
---
|
|
arch/m68k/kernel/setup.c | 2 --
|
|
1 file changed, 2 deletions(-)
|
|
|
|
--- linux-m68k-2.6.21.orig/arch/m68k/kernel/setup.c
|
|
+++ linux-m68k-2.6.21/arch/m68k/kernel/setup.c
|
|
@@ -61,7 +61,6 @@ int m68k_num_memory;
|
|
int m68k_realnum_memory;
|
|
EXPORT_SYMBOL(m68k_realnum_memory);
|
|
unsigned long m68k_memoffset;
|
|
-EXPORT_SYMBOL(m68k_memoffset);
|
|
struct mem_info m68k_memory[NUM_MEMINFO];
|
|
EXPORT_SYMBOL(m68k_memory);
|
|
|
|
@@ -199,7 +198,6 @@ static void __init m68k_parse_bootinfo(c
|
|
(m68k_num_memory - 1));
|
|
m68k_num_memory = 1;
|
|
}
|
|
- m68k_memoffset = m68k_memory[0].addr-PAGE_OFFSET;
|
|
#endif
|
|
}
|
|
|