]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/mn10300/kernel/setup.c
MN10300: Give correct size when reserving interrupt vector table
[linux-2.6-omap-h63xx.git] / arch / mn10300 / kernel / setup.c
index 6b7ce26368510cfbda24dd278c77115a40d42bbe..e1d88ab51008896ce6fa423d6e8e1fd1ce5b3672 100644 (file)
@@ -17,7 +17,6 @@
 #include <linux/ptrace.h>
 #include <linux/slab.h>
 #include <linux/user.h>
-#include <linux/a.out.h>
 #include <linux/tty.h>
 #include <linux/ioport.h>
 #include <linux/delay.h>
@@ -162,7 +161,7 @@ void __init setup_arch(char **cmdline_p)
           reserve the page it is occupying. */
        if (CONFIG_INTERRUPT_VECTOR_BASE >= CONFIG_KERNEL_RAM_BASE_ADDRESS &&
            CONFIG_INTERRUPT_VECTOR_BASE < memory_end)
-               reserve_bootmem(CONFIG_INTERRUPT_VECTOR_BASE, 1,
+               reserve_bootmem(CONFIG_INTERRUPT_VECTOR_BASE, PAGE_SIZE,
                                BOOTMEM_DEFAULT);
 
        reserve_bootmem(PAGE_ALIGN(PFN_PHYS(free_pfn)), bootmap_size,