]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/sh/mm/pmb.c
sh: Wire up clear_user_highpage().
[linux-2.6-omap-h63xx.git] / arch / sh / mm / pmb.c
index a08a4a958adda563d0472b1534011da088f0524a..1d45b82f0a638e12ef1afb939feafc2a39b95612 100644 (file)
@@ -145,7 +145,7 @@ repeat:
 
        ctrl_outl(vpn | PMB_V, mk_pmb_addr(pos));
 
-#ifdef CONFIG_SH_WRITETHROUGH
+#ifdef CONFIG_CACHE_WRITETHROUGH
        /*
         * When we are in 32-bit address extended mode, CCR.CB becomes
         * invalid, so care must be taken to manually adjust cacheable
@@ -292,8 +292,7 @@ void pmb_unmap(unsigned long addr)
        } while (pmbe);
 }
 
-static void pmb_cache_ctor(void *pmb, struct kmem_cache *cachep,
-                          unsigned long flags)
+static void pmb_cache_ctor(struct kmem_cache *cachep, void *pmb)
 {
        struct pmb_entry *pmbe = pmb;