]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/x86/mm/pageattr.c
Merge branch 'x86-mm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[karo-tx-linux.git] / arch / x86 / mm / pageattr.c
index eda2acbb6e81b2895e7645bd21fc8624ad355e7e..e1ebde3152104840961fe6e953b28d628f4bab82 100644 (file)
@@ -1333,12 +1333,6 @@ void kernel_map_pages(struct page *page, int numpages, int enable)
                                           numpages * PAGE_SIZE);
        }
 
-       /*
-        * If page allocator is not up yet then do not call c_p_a():
-        */
-       if (!debug_pagealloc_enabled)
-               return;
-
        /*
         * The return value is ignored as the calls cannot fail.
         * Large pages for identity mappings are not used at boot time