diff options
author | kaf24@localhost.localdomain <kaf24@localhost.localdomain> | 2007-01-03 23:53:27 +0000 |
---|---|---|
committer | kaf24@localhost.localdomain <kaf24@localhost.localdomain> | 2007-01-03 23:53:27 +0000 |
commit | 72c07f413879d47a5bd472ff8971a0c5bb4b205d (patch) | |
tree | fba8b087a5acbe6b68cc29c0163c291a437943c4 /xen/common/kexec.c | |
parent | 0550678b74b1afac96ff8e823bf50b436f66dc57 (diff) | |
download | xen-72c07f413879d47a5bd472ff8971a0c5bb4b205d.tar.gz xen-72c07f413879d47a5bd472ff8971a0c5bb4b205d.tar.bz2 xen-72c07f413879d47a5bd472ff8971a0c5bb4b205d.zip |
[XEN] Make labels _start,_end,_stext,_etext,_sinittext,_einittext generic.
Also sync the tools/symbol.c symbol table generator with Linux.
Make section names generic (e.e.g, .init.text, .init.data, ...).
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/common/kexec.c')
-rw-r--r-- | xen/common/kexec.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/xen/common/kexec.c b/xen/common/kexec.c index 9403492346..8f511608f5 100644 --- a/xen/common/kexec.c +++ b/xen/common/kexec.c @@ -150,12 +150,10 @@ static int kexec_get_reserve(xen_kexec_range_t *range) return 0; } -extern unsigned long _text; - static int kexec_get_xen(xen_kexec_range_t *range) { - range->start = virt_to_maddr(&_text); - range->size = (unsigned long)&_end - (unsigned long)&_text; + range->start = virt_to_maddr(_start); + range->size = (unsigned long)_end - (unsigned long)_start; return 0; } |