diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-01-04 22:35:00 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-01-04 22:35:00 -0500 |
commit | 0176bd3dab4fe522bfb6ceab9e3c441fe0305738 (patch) | |
tree | d532c56785fad657581fc74794881dfaae99fe5c | |
parent | a7595fe7e8a93a73ce6199dace75a0caca7024c1 (diff) |
sh: Drop down to a single quicklist.
We previously had 2 quicklists, one for the PGD case and one for PTEs.
Now that the PGD/PMD cases are handled through slab caches due to the
multi-level configurability, only the PTE quicklist remains. As such,
reduce NR_QUICK to its appropriate size and bump down the PTE quicklist
index.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r-- | arch/sh/include/asm/pgalloc.h | 2 | ||||
-rw-r--r-- | mm/Kconfig | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/arch/sh/include/asm/pgalloc.h b/arch/sh/include/asm/pgalloc.h index e106474996b2..f8982f4e0405 100644 --- a/arch/sh/include/asm/pgalloc.h +++ b/arch/sh/include/asm/pgalloc.h | |||
@@ -4,7 +4,7 @@ | |||
4 | #include <linux/quicklist.h> | 4 | #include <linux/quicklist.h> |
5 | #include <asm/page.h> | 5 | #include <asm/page.h> |
6 | 6 | ||
7 | #define QUICK_PT 1 /* Other page table pages that are zero on free */ | 7 | #define QUICK_PT 0 /* Other page table pages that are zero on free */ |
8 | 8 | ||
9 | extern pgd_t *pgd_alloc(struct mm_struct *); | 9 | extern pgd_t *pgd_alloc(struct mm_struct *); |
10 | extern void pgd_free(struct mm_struct *mm, pgd_t *pgd); | 10 | extern void pgd_free(struct mm_struct *mm, pgd_t *pgd); |
diff --git a/mm/Kconfig b/mm/Kconfig index 17b8947aa7da..d34c2b971032 100644 --- a/mm/Kconfig +++ b/mm/Kconfig | |||
@@ -195,7 +195,7 @@ config BOUNCE | |||
195 | config NR_QUICK | 195 | config NR_QUICK |
196 | int | 196 | int |
197 | depends on QUICKLIST | 197 | depends on QUICKLIST |
198 | default "2" if SUPERH || AVR32 | 198 | default "2" if AVR32 |
199 | default "1" | 199 | default "1" |
200 | 200 | ||
201 | config VIRT_TO_BUS | 201 | config VIRT_TO_BUS |