Skip to content

Commit

Permalink
MN10300: Give correct size when reserving interrupt vector table
Browse files Browse the repository at this point in the history
Give the correct size when reserving the interrupt vector table.  It should be
a page not a single byte.

Signed-off-by: Akira Takeuchi <takeuchi.akr@jp.panasonic.com>
Signed-off-by: David Howells <dhowells@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Akira Takeuchi authored and Linus Torvalds committed Dec 10, 2008
1 parent 54b71fb commit c7f8d6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/mn10300/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -161,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,
Expand Down

0 comments on commit c7f8d6f

Please sign in to comment.