m68k: ARRAY_SIZE() cleanup
[linux-2.6.git] / arch / m68k / sun3x / dvma.c
index 32e55adfeb8ebea0f2ecafd45b10772fefaa3ca1..117481e86305798610f894e8f0e7b896315dc573 100644 (file)
@@ -116,7 +116,7 @@ inline int dvma_map_cpu(unsigned long kaddr,
                        pte_t *pte;
                        unsigned long end3;
 
-                       if((pte = pte_alloc_kernel(&init_mm, pmd, vaddr)) == NULL) {
+                       if((pte = pte_alloc_kernel(pmd, vaddr)) == NULL) {
                                ret = -ENOMEM;
                                goto out;
                        }