X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=arch%2Fh8300%2Fkernel%2Fsetup.c;h=7fda657110eb3d7a7cab104dd3d81f1693506526;hb=837b41b5de356aa67abb2cadb5eef3efc7776f91;hp=313cd80810441516b95e86610e5f49b1651bf47f;hpb=48c871c1f6a7c7044dd76774fb469e65c7e2e4e8;p=pandora-kernel.git diff --git a/arch/h8300/kernel/setup.c b/arch/h8300/kernel/setup.c index 313cd8081044..7fda657110eb 100644 --- a/arch/h8300/kernel/setup.c +++ b/arch/h8300/kernel/setup.c @@ -20,6 +20,7 @@ #include #include #include +#include #include #include #include @@ -33,10 +34,7 @@ #include #include - -#ifdef CONFIG_BLK_DEV_INITRD #include -#endif #if defined(__H8300H__) #define CPU "H8/300H" @@ -176,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 */ @@ -239,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,