Thread (7 messages) 7 messages, 4 authors, 2012-06-06

Re: [PATCH] powerpc: Fix assmption of end_of_DRAM() returns end address

flat view

From: David Miller <davem@davemloft.net>
Date: 2012-06-05 22:21:05
Also in: lkml

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: Wed, 06 Jun 2012 08:17:39 +1000
On Tue, 2012-06-05 at 19:25 +0530, Bharat Bhushan wrote:
quoted
memblock_end_of_DRAM() returns end_address + 1, not end address.
While some code assumes that it returns end address.
Shouldn't we instead fix it the other way around ? IE, make
memblock_end_of_DRAM() does what the name implies, which is to return
the last byte of DRAM, and fix the -other- callers not to make bad
assumptions ?
That was my impression too when I saw this patch.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help