diff options
author | Tony Luck <tony.luck@intel.com> | 2015-11-10 19:09:47 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2015-11-10 23:44:26 +0100 |
commit | b0aeba741b2d082e4f0773881af4906ce2bb8231 (patch) | |
tree | 54aa8f78967e60d869d4502ab4554aae4676d6b9 /arch/m32r | |
parent | Merge tag 'md/4.4-rc0-fix' of git://neil.brown.name/md (diff) | |
download | linux-b0aeba741b2d082e4f0773881af4906ce2bb8231.tar.xz linux-b0aeba741b2d082e4f0773881af4906ce2bb8231.zip |
Fix alloc_node_mem_map() to work on ia64 again
In commit a1c34a3bf00a ("mm: Don't offset memmap for flatmem") Laura
fixed a problem for Srinivas relating to the bottom 2MB of RAM on an ARM
IFC6410 board.
One small wrinkle on ia64 is that it allocates the node_mem_map earlier
in arch code, so it skips the block of code where "offset" is
initialized.
Move initialization of start and offset before the check for the
node_mem_map so that they will always be available in the latter part of
the function.
Tested-by: Laura Abbott <laura@labbott.name>
Fixes: a1c34a3bf00a (mm: Don't offset memmap for flatmem)
Signed-off-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/m32r')
0 files changed, 0 insertions, 0 deletions