]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/h8300/kernel/setup.c
Merge commit 'jk/jk-merge'
[linux-2.6-omap-h63xx.git] / arch / h8300 / kernel / setup.c
index b2e86d0255e691e7464bb786e6c16091de0bd84b..7fda657110eb3d7a7cab104dd3d81f1693506526 100644 (file)
@@ -20,6 +20,7 @@
 #include <linux/sched.h>
 #include <linux/delay.h>
 #include <linux/interrupt.h>
+#include <linux/mm.h>
 #include <linux/fs.h>
 #include <linux/fb.h>
 #include <linux/console.h>
@@ -173,7 +174,7 @@ void __init setup_arch(char **cmdline_p)
         * the bootmem bitmap so we then reserve it after freeing it :-)
         */
        free_bootmem(memory_start, memory_end - memory_start);
-       reserve_bootmem(memory_start, bootmap_size);
+       reserve_bootmem(memory_start, bootmap_size, BOOTMEM_DEFAULT);
        /*
         * get kmalloc into gear
         */
@@ -236,7 +237,7 @@ static void c_stop(struct seq_file *m, void *v)
 {
 }
 
-struct seq_operations cpuinfo_op = {
+const struct seq_operations cpuinfo_op = {
        .start  = c_start,
        .next   = c_next,
        .stop   = c_stop,