]> err.no Git - linux-2.6/blobdiff - arch/sh/mm/pmb.c
Merge commit 'gcl/gcl-next'
[linux-2.6] / arch / sh / mm / pmb.c
index ab81c602295f063906c6de58b398325b2ccd49cc..46911bcbf17b01e53e92915c63a84db5616abe4d 100644 (file)
@@ -293,7 +293,7 @@ void pmb_unmap(unsigned long addr)
        } while (pmbe);
 }
 
-static void pmb_cache_ctor(struct kmem_cache *cachep, void *pmb)
+static void pmb_cache_ctor(void *pmb)
 {
        struct pmb_entry *pmbe = pmb;
 
@@ -393,7 +393,7 @@ static int __init pmb_debugfs_init(void)
        struct dentry *dentry;
 
        dentry = debugfs_create_file("pmb", S_IFREG | S_IRUGO,
-                                    NULL, NULL, &pmb_debugfs_fops);
+                                    sh_debugfs_root, NULL, &pmb_debugfs_fops);
        if (IS_ERR(dentry))
                return PTR_ERR(dentry);