Don't let the client stack and the heap overlap.
v2: * Initial.
Signed-off-by: Andreas Färber andreas.faerber@web.de --- arch/ppc/qemu/ofmem.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/ppc/qemu/ofmem.c b/arch/ppc/qemu/ofmem.c index 500752b..a45c96c 100644 --- a/arch/ppc/qemu/ofmem.c +++ b/arch/ppc/qemu/ofmem.c @@ -97,7 +97,7 @@ get_ram_bottom( void )
static ucell get_heap_top( void ) { - return get_hash_base() - (32 + 64) * 1024; + return get_hash_base() - (32 + 64 + 64) * 1024; }
static inline size_t ALIGN_SIZE(size_t x, size_t a)