提交 09b7c9f2 编写于 作者: Y Yoichi Yuasa 提交者: Ralf Baechle

MIPS: PowerTV: Remove unused ptv_memsize

Signed-off-by: NYoichi Yuasa <yuasa@linux-mips.org>
Patchwork: http://patchwork.linux-mips.org/patch/799/Reviewed-by: NDavid VomLehn <dvomlehn@cisco.com>
Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
上级 99d2b173
...@@ -42,8 +42,6 @@ ...@@ -42,8 +42,6 @@
#define BOOT_MEM_SIZE KIBIBYTE(256) /* Memory reserved for bldr */ #define BOOT_MEM_SIZE KIBIBYTE(256) /* Memory reserved for bldr */
#define PHYS_MEM_START 0x10000000 /* Start of physical memory */ #define PHYS_MEM_START 0x10000000 /* Start of physical memory */
unsigned long ptv_memsize;
char __initdata cmdline[COMMAND_LINE_SIZE]; char __initdata cmdline[COMMAND_LINE_SIZE];
void __init prom_meminit(void) void __init prom_meminit(void)
...@@ -87,9 +85,6 @@ void __init prom_meminit(void) ...@@ -87,9 +85,6 @@ void __init prom_meminit(void)
} }
} }
/* Store memsize for diagnostic purposes */
ptv_memsize = memsize;
physend = PFN_ALIGN(&_end) - 0x80000000; physend = PFN_ALIGN(&_end) - 0x80000000;
if (memsize > LOW_MEM_MAX) { if (memsize > LOW_MEM_MAX) {
low_mem = LOW_MEM_MAX; low_mem = LOW_MEM_MAX;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册