memblock: remove _virt from APIs returning virtual address
[linux-2.6-block.git] / kernel / printk / printk.c
index b77150ad1965a20b106e238f00c3c982b9eb3eef..429e4a3833cae3e15e98225372530ad7094ae7a5 100644 (file)
@@ -1111,9 +1111,9 @@ void __init setup_log_buf(int early)
 
        if (early) {
                new_log_buf =
-                       memblock_virt_alloc(new_log_buf_len, LOG_ALIGN);
+                       memblock_alloc(new_log_buf_len, LOG_ALIGN);
        } else {
-               new_log_buf = memblock_virt_alloc_nopanic(new_log_buf_len,
+               new_log_buf = memblock_alloc_nopanic(new_log_buf_len,
                                                          LOG_ALIGN);
        }