summaryrefslogtreecommitdiff
path: root/kexec/symbols.c
Commit message (Collapse)AuthorAgeFilesLines
* Add some necessary fclose() callsKai Song2021-10-051-0/+2
| | | | | | | fclose should be called before function exits Signed-off-by: Kai Song <songkai01@inspur.com> Signed-off-by: Simon Horman <horms@verge.net.au>
* kexec: generalize and rename get_kernel_stext_sym()Pratyush Anand2017-05-221-0/+34
get_kernel_stext_sym() has been defined for both arm and i386. Other architecture might need some other kernel symbol address. Therefore rewrite this function as generic function to get any kernel symbol address. More over, kallsyms is not arch specific representation, therefore have common function for all arches. Signed-off-by: Pratyush Anand <panand@redhat.com> [created symbols.c] Signed-off-by: AKASHI Takahiro <takahiro.akashi@linaro.org> Tested-by: David Woodhouse <dwmw@amazon.co.uk> Tested-by: Pratyush Anand <panand@redhat.com> Signed-off-by: Simon Horman <horms@verge.net.au>