[PATCH] Memory Add Fixes for ppc64
authorMike Kravetz <kravetz@us.ibm.com>
Fri, 4 Nov 2005 23:19:32 +0000 (15:19 -0800)
committerPaul Mackerras <paulus@samba.org>
Tue, 8 Nov 2005 04:17:19 +0000 (15:17 +1100)
commitdd7ccbd3eed52a42dc8bba57717dac3ece39b58e
treea6ff81f591fec7318bffd3e666d2949544cd932c
parent54b79248b24610663298e122c6ba3804468271fe
[PATCH] Memory Add Fixes for ppc64

memmap_init_zone() sets page count to 1.  Before 'freeing' the
page, we need to clear the count.  This is the same that is done
on free_all_bootmem_core() for memory discovered at boot time.

Signed-off-by: Mike Kravetz <kravetz@us.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/mm/mem.c