Re: [PATCH 1/2] MIPS: OCTEON: take all memory into use by default

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

 



On 05/24/2016 07:09 AM, Aaro Koskinen wrote:
Take all memory into use by default, instead of limiting to 512 MB.

Signed-off-by: Aaro Koskinen <aaro.koskinen@xxxxxxxxx>

Thanks for doing this.  I haven't tested it, but I think it is a good idea:

Acked-by: David Daney <david.daney@xxxxxxxxxx>


---

	This supersedes this patch: http://marc.info/?t=146401648900005&r=1&w=2

  arch/mips/cavium-octeon/setup.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/mips/cavium-octeon/setup.c b/arch/mips/cavium-octeon/setup.c
index cd7101f..53c1234 100644
--- a/arch/mips/cavium-octeon/setup.c
+++ b/arch/mips/cavium-octeon/setup.c
@@ -49,7 +49,7 @@ extern struct plat_smp_ops octeon_smp_ops;
  extern void pci_console_init(const char *arg);
  #endif

-static unsigned long long MAX_MEMORY = 512ull << 20;
+static unsigned long long MAX_MEMORY = ULLONG_MAX;

  DEFINE_SEMAPHORE(octeon_bootbus_sem);
  EXPORT_SYMBOL(octeon_bootbus_sem);






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

  Powered by Linux