]> git.baikalelectronics.ru Git - kernel.git/commit
[POWERPC] bootwrapper: cuboot-83xx: Exclude upper 1MB from heap.
authorScott Wood <scottwood@freescale.com>
Thu, 26 Apr 2007 17:19:31 +0000 (03:19 +1000)
committerPaul Mackerras <paulus@samba.org>
Fri, 27 Apr 2007 11:14:21 +0000 (21:14 +1000)
commite7e50e18a17fb8a1ea2de368b0a7719ccd077a9d
treee15f27af2942af562d39248d82ff4db20fee1efd
parent0bfd886e90416b9583b6072cf90742f60e7c9493
[POWERPC] bootwrapper: cuboot-83xx: Exclude upper 1MB from heap.

The uppermost part of memory is where u-boot puts the stack, so don't
include that in the heap.  It's not currently causing problems, as the
current code allocates from the bottom of the heap, but this will keep
things from potentially breaking if a future implementation were to
allocate from the top.

Signed-off-by: Scott Wood <scottwood@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/boot/cuboot-83xx.c