Add a section count property to the memory_block struct to track the number
of memory sections that have been added/removed from a memory block. Updated
to use atomic_dec_and_test().
Signed-off-by: Nathan Fontenot
---
drivers/base/memory.c | 18 +++---
include/linux/memory.h |
On Mon, 19 Jul 2010 22:53:58 -0500
Nathan Fontenot wrote:
> Add a section count property to the memory_block struct to track the number
> of memory sections that have been added/removed from a emory block.
>
> Signed-off-by: Nathan Fontenot
> ---
> drivers/base/memory.c | 19 ---