diff options
author | Max Filippov <jcmvbkbc@gmail.com> | 2014-03-21 21:04:40 +0400 |
---|---|---|
committer | Max Filippov <jcmvbkbc@gmail.com> | 2014-04-02 01:35:54 +0400 |
commit | 06bd2824f7dcbfb8dcd13519239a53d13298d238 (patch) | |
tree | 249b0b2ae6c1b088c358b8b150dabe2b839c16db /arch/xtensa/kernel/setup.c | |
parent | 6232791833785ae591b211609f6f7c4faa7c6e55 (diff) | |
download | talos-obmc-linux-06bd2824f7dcbfb8dcd13519239a53d13298d238.tar.gz talos-obmc-linux-06bd2824f7dcbfb8dcd13519239a53d13298d238.zip |
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/setup.c')
-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) __pa(&_Level6InterruptVector_text_end), 0); #endif + parse_early_param(); bootmem_init(); unflatten_and_copy_device_tree(); |