sparc32: drop quicklist
authorSam Ravnborg <sam@ravnborg.org>
Thu, 26 Jul 2012 11:02:23 +0000 (11:02 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 26 Jul 2012 23:46:16 +0000 (16:46 -0700)
The quicklist stuff is not used anymore - drop it.

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/include/asm/pgalloc_32.h
arch/sparc/mm/init_32.c

index bf20809f66659da070c914049c69766e8bd68ddd..9b1c36de0f183f8c91778e6a22ca431fb43dabe5 100644 (file)
 
 struct page;
 
-extern struct pgtable_cache_struct {
-       unsigned long *pgd_cache;
-       unsigned long *pte_cache;
-       unsigned long pgtable_cache_sz;
-       unsigned long pgd_cache_sz;
-} pgt_quicklists;
-
 void *srmmu_get_nocache(int size, int align);
 void srmmu_free_nocache(void *addr, int size);
 
-#define pgd_quicklist           (pgt_quicklists.pgd_cache)
-#define pmd_quicklist           ((unsigned long *)0)
-#define pte_quicklist           (pgt_quicklists.pte_cache)
-#define pgtable_cache_size      (pgt_quicklists.pgtable_cache_sz)
-#define pgd_cache_size         (pgt_quicklists.pgd_cache_sz)
-
 #define check_pgt_cache()      do { } while (0)
 
 pgd_t *get_pgd_fast(void);
index 6dce086a2edb5aa800d6512f745db00305159bd2..6d44c2b80d66d0ceb67a5a1c8a5e52842b2e4a59 100644 (file)
@@ -46,8 +46,6 @@ EXPORT_SYMBOL(pfn_base);
 
 struct sparc_phys_banks sp_banks[SPARC_PHYS_BANKS+1];
 
-struct pgtable_cache_struct pgt_quicklists;
-
 /* Initial ramdisk setup */
 extern unsigned int sparc_ramdisk_image;
 extern unsigned int sparc_ramdisk_size;