Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

MN10300: Give correct size when reserving interrupt vector table

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>

authored by

Akira Takeuchi and committed by
Linus Torvalds
c7f8d6f6 54b71fba

+1 -1
+1 -1
arch/mn10300/kernel/setup.c
··· 161 161 reserve the page it is occupying. */ 162 162 if (CONFIG_INTERRUPT_VECTOR_BASE >= CONFIG_KERNEL_RAM_BASE_ADDRESS && 163 163 CONFIG_INTERRUPT_VECTOR_BASE < memory_end) 164 - reserve_bootmem(CONFIG_INTERRUPT_VECTOR_BASE, 1, 164 + reserve_bootmem(CONFIG_INTERRUPT_VECTOR_BASE, PAGE_SIZE, 165 165 BOOTMEM_DEFAULT); 166 166 167 167 reserve_bootmem(PAGE_ALIGN(PFN_PHYS(free_pfn)), bootmap_size,