diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2008-08-19 20:00:08 -0300 |
---|---|---|
committer | Avi Kivity <avi@qumranet.com> | 2008-08-25 17:22:57 +0300 |
commit | 18b13e5457041429af3974afd52f647c3a5465dd (patch) | |
tree | 81bfebb5c157937bcd1cf3131fe4c4218848484b /COPYING | |
parent | 83097aca8567a0bd593534853b71fe0fa9a75d69 (diff) |
KVM: Use .fixup instead of .text.fixup on __kvm_handle_fault_on_reboot
vmlinux.lds expects the fixup code to be on a section named .fixup. The
.text.fixup section is not mentioned on vmlinux.lds, and is included on
the resulting vmlinux (just after .text) only because of ld heuristics on
placing orphan sections.
However, placing .text.fixup outside .text breaks the definition of
_etext, making it exclude the .text.fixup contents. That makes .text.fixup
be ignored by the kernel initialization code that needs to know about
section locations, such as the code setting page protection bits.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Avi Kivity <avi@qumranet.com>
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions