diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-06-14 02:57:50 +0200 |
---|---|---|
committer | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2011-07-12 03:08:01 +0200 |
commit | a63fdc5156f2ef5690b6cf03d72b0c4917efbba7 (patch) | |
tree | 03d9b67a5d07ab9d805ea39db2f331740eba1d4c /drivers/base | |
parent | Linux 3.0-rc7 (diff) | |
download | linux-a63fdc5156f2ef5690b6cf03d72b0c4917efbba7.tar.xz linux-a63fdc5156f2ef5690b6cf03d72b0c4917efbba7.zip |
mm: Move definition of MIN_MEMORY_BLOCK_SIZE to a header
The macro MIN_MEMORY_BLOCK_SIZE is currently defined twice in two .c
files, and I need it in a third one to fix a powerpc bug, so let's
first move it into a header
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'drivers/base')
-rw-r--r-- | drivers/base/memory.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/base/memory.c b/drivers/base/memory.c index 9f9b2359f718..45d7c8fc73bd 100644 --- a/drivers/base/memory.c +++ b/drivers/base/memory.c @@ -30,7 +30,6 @@ static DEFINE_MUTEX(mem_sysfs_mutex); #define MEMORY_CLASS_NAME "memory" -#define MIN_MEMORY_BLOCK_SIZE (1 << SECTION_SIZE_BITS) static int sections_per_block; |