diff options
author | Yinghai Lu <yinghai@kernel.org> | 2009-06-04 19:14:22 -0700 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-06-11 15:19:13 -0700 |
commit | 8c5dd8f43367f4f266dd616f11658005bc2d20ef (patch) | |
tree | 331d4e75f41cdc8acee8c3d9eedee8b3e41a1608 /mm/swap.c | |
parent | 512626a04e72aca60effe111fa0333ed0b195d21 (diff) |
x86: handle initrd that extends into unusable memory
On a system where system memory (according e820) is not covered by
mtrr, mtrr_trim_memory converts a portion of memory to reserved, but
bootloader has already put the initrd in that range.
Thus, we need to have 64bit to use relocate_initrd too.
[ Impact: fix using initrd when mtrr_trim_memory happen ]
Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
Cc: stable@kernel.org
Diffstat (limited to 'mm/swap.c')
0 files changed, 0 insertions, 0 deletions