Title: [8239] trunk/arch/blackfin/kernel/setup.c: bug [#5848], fix wrong memory information in /proc/cpuinfo
- Revision
- 8239
- Author
- bhsong
- Date
- 2010-01-26 21:49:33 -0500 (Tue, 26 Jan 2010)
Log Message
bug [#5848], fix wrong memory information in /proc/cpuinfo
Modified Paths
Diff
Modified: trunk/arch/blackfin/kernel/setup.c (8238 => 8239)
--- trunk/arch/blackfin/kernel/setup.c 2010-01-27 00:44:33 UTC (rev 8238)
+++ trunk/arch/blackfin/kernel/setup.c 2010-01-27 02:49:33 UTC (rev 8239)
@@ -1271,8 +1271,8 @@
seq_printf(m, "board memory\t: %ld kB (0x%p -> 0x%p)\n",
physical_mem_end >> 10, (void *)0, (void *)physical_mem_end);
seq_printf(m, "kernel memory\t: %d kB (0x%p -> 0x%p)\n",
- ((int)memory_end - (int)_stext) >> 10,
- _stext,
+ ((int)memory_end - (int)_rambase) >> 10,
+ (void *)_rambase,
(void *)memory_end);
seq_printf(m, "\n");
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits