diff options
author | Pratyush Anand <panand@redhat.com> | 2017-05-17 14:51:42 +0900 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2017-05-22 13:33:24 +0200 |
commit | 325804055e99dbf40af5e6fa546320b821d9d821 (patch) | |
tree | e0f9131d38e423d55702647f8c7c865ae760bff1 /kexec/Makefile | |
parent | c95df0e099b14757de483245d7b1b45e2d6e2c91 (diff) |
kexec: generalize and rename get_kernel_stext_sym()
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>
Diffstat (limited to 'kexec/Makefile')
-rw-r--r-- | kexec/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kexec/Makefile b/kexec/Makefile index 39f365f..2b4fb3d 100644 --- a/kexec/Makefile +++ b/kexec/Makefile @@ -26,6 +26,7 @@ KEXEC_SRCS_base += kexec/kernel_version.c KEXEC_SRCS_base += kexec/lzma.c KEXEC_SRCS_base += kexec/zlib.c KEXEC_SRCS_base += kexec/kexec-xen.c +KEXEC_SRCS_base += kexec/symbols.c KEXEC_GENERATED_SRCS += $(PURGATORY_HEX_C) |