diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2014-03-21 13:04:40 -0400 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2014-04-01 17:35:54 -0400 |
commit | 06bd2824f7dcbfb8dcd13519239a53d13298d238 (patch) | |
tree | 249b0b2ae6c1b088c358b8b150dabe2b839c16db /arch/xtensa/kernel | |
parent | 6232791833785ae591b211609f6f7c4faa7c6e55 (diff) |
xtensa: handle memmap kernel option
This option is useful for reserving memory regions for secondary cores
in AMP configurations.
Implement the following memmap variants:
- memmap=nn[KMG]@ss[KMG]: force usage of a specific region of memory;
- memmap=nn[KMG]$ss[KMG]: mark specified memory as reserved;
- memmap=nn[KMG]: set end of memory.
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'arch/xtensa/kernel')
-rw-r--r-- | arch/xtensa/kernel/setup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/xtensa/kernel/setup.c b/arch/xtensa/kernel/setup.c index 017c06aba9b2..9757bb74e532 100644 --- a/arch/xtensa/kernel/setup.c +++ b/arch/xtensa/kernel/setup.c | |||
@@ -507,6 +507,7 @@ void __init setup_arch(char **cmdline_p) | |||
507 | __pa(&_Level6InterruptVector_text_end), 0); | 507 | __pa(&_Level6InterruptVector_text_end), 0); |
508 | #endif | 508 | #endif |
509 | 509 | ||
510 | parse_early_param(); | ||
510 | bootmem_init(); | 511 | bootmem_init(); |
511 | 512 | ||
512 | unflatten_and_copy_device_tree(); | 513 | unflatten_and_copy_device_tree(); |