mirror of
https://github.com/torvalds/linux.git
synced 2026-10-07 05:31:08 -04:00
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 <[email protected]> Acked-by: Ingo Molnar <[email protected]>
This commit is contained in:
1 parent
620917de59
commit
a63fdc5156
3 files changed
+3
-3
No files matched your search
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user