projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54b71fb
)
MN10300: Give correct size when reserving interrupt vector table
author
Akira Takeuchi
<
[email protected]
>
Wed, 10 Dec 2008 12:43:39 +0000
(12:43 +0000)
committer
Linus Torvalds
<
[email protected]
>
Wed, 10 Dec 2008 21:34:33 +0000
(13:34 -0800)
Give the correct size when reserving the interrupt vector table. It should be
a page not a single byte.
Signed-off-by: Akira Takeuchi <
[email protected]
>
Signed-off-by: David Howells <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
arch/mn10300/kernel/setup.c
patch
|
blob
|
history
diff --git
a/arch/mn10300/kernel/setup.c
b/arch/mn10300/kernel/setup.c
index 017121ce896f345b63af32afe8f6a9aee1aaa7e3..e1d88ab51008896ce6fa423d6e8e1fd1ce5b3672 100644
(file)
--- a/
arch/mn10300/kernel/setup.c
+++ b/
arch/mn10300/kernel/setup.c
@@
-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,