Thread (2 messages) flat view 2 messages, 2 authors, 2009-07-27

Re: [PATCH] prom_init: evaluate mem kernel parameter for early allocation

From: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Date: 2009-07-27 04:09:58

On Fri, 2009-07-17 at 22:29 +0200, Benjamin Krill wrote:
Evaluate mem kernel parameter for early memory allocations. If mem is set
no allocation in the region above the given boundary is allowed. The current
code doesn't take care about this and allocate memory above the given mem
boundary.
Breaks build on ppc32 due to ...
+	opt = strstr(RELOC(prom_cmd_line), RELOC("mem="));
"opt" isn't defined (it's defined inside CONFIG_PPC64). Please respin
a patch that also removes that bit so that "opt" is always defined.

Cheers,
Ben.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help