Re: [PATCH 1/7] MIPS: add detect_memory_region()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello.

On 15-04-2013 14:41, John Crispin wrote:

Add a generic way of detecting the available RAM. This function is based on the
implementation already used by ath79.

Signed-off-by: John Crispin <blogic@xxxxxxxxxxx>
[...]

diff --git a/arch/mips/kernel/setup.c b/arch/mips/kernel/setup.c
index 4c774d5..dfe776a 100644
--- a/arch/mips/kernel/setup.c
+++ b/arch/mips/kernel/setup.c
[...]
@@ -122,6 +123,25 @@ void __init add_memory_region(phys_t start, phys_t size, long type)
  	boot_mem_map.nr_map++;
  }

+void __init detect_memory_region(phys_t start, phys_t sz_min,  phys_t sz_max)

   Minor formatting nit: too many spaces after the last comma.

WBR, Sergei



[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux