diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2006-12-07 02:14:03 +0100 |
---|---|---|
committer | Andi Kleen <andi@basil.nowhere.org> | 2006-12-07 02:14:03 +0100 |
commit | 8621b81c744ff8880a1efe095a4dcd09763ddb5a (patch) | |
tree | 46ed6f4b7c0e2391bcc956a7e0e0fc498e389f67 /arch/i386/boot | |
parent | 9f45accf17efc050ba26bf77cc4f166c950b284e (diff) |
[PATCH] i386: Reserve kernel memory starting from _text
Currently when we are reserving the memory the kernel text
resides in we start at __PHYSICAL_START which happens to be
correct but not very obvious. In addition when we start relocating
the kernel __PHYSICAL_START is the wrong value, as it is an
absolute symbol that does not get relocated.
By starting the reservation at __pa_symbol(_text)
the code is clearer and will be correct when relocated.
Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Signed-off-by: Vivek Goyal <vgoyal@in.ibm.com>
Signed-off-by: Andi Kleen <ak@suse.de>
Diffstat (limited to 'arch/i386/boot')
0 files changed, 0 insertions, 0 deletions