This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / arch / ia64 / mm / discontig.c
index 3c2b76a..eb464cb 100644 (file)
@@ -16,8 +16,6 @@
 #include <linux/bootmem.h>
 #include <linux/acpi.h>
 #include <linux/efi.h>
-#include <linux/nodemask.h>
-#include <linux/module.h>
 #include <asm/pgalloc.h>
 #include <asm/tlb.h>
 #include <asm/meminit.h>
@@ -546,8 +544,6 @@ void show_mem(void)
        printk("%d free buffer pages\n", nr_free_buffer_pages());
 }
 
-EXPORT_SYMBOL_GPL(show_mem);
-
 /**
  * call_pernode_memory - use SRAT to call callback functions with node info
  * @start: physical start of range
@@ -605,7 +601,7 @@ void call_pernode_memory(unsigned long start, unsigned long len, void *arg)
  * for each piece of usable memory and will setup these values for each node.
  * Very similar to build_maps().
  */
-static __init int count_node_pages(unsigned long start, unsigned long len, int node)
+static int count_node_pages(unsigned long start, unsigned long len, int node)
 {
        unsigned long end = start + len;
 
@@ -630,7 +626,7 @@ static __init int count_node_pages(unsigned long start, unsigned long len, int n
  * paging_init() sets up the page tables for each node of the system and frees
  * the bootmem allocator memory for general use.
  */
-void __init paging_init(void)
+void paging_init(void)
 {
        unsigned long max_dma;
        unsigned long zones_size[MAX_NR_ZONES];
@@ -684,7 +680,7 @@ void __init paging_init(void)
                                PAGE_ALIGN(max_low_pfn * sizeof(struct page));
                        vmem_map = (struct page *) vmalloc_end;
 
-                       efi_memmap_walk(create_mem_map_page_table, NULL);
+                       efi_memmap_walk(create_mem_map_page_table, 0);
                        printk("Virtual mem_map starts at 0x%p\n", vmem_map);
                }