__exception_text_start and __exception_text_end is no more used in
Linux. So removing references of __exception_text_start and
__exception_text_end for ARM.
Signed-off-by: Prabhakar Kushwaha <pkushwaha(a)marvell.com>
---
Note: Compilation tested
arm.c | 6 ------
defs.h | 2 --
2 files changed, 8 deletions(-)
diff --git a/arm.c b/arm.c
index e52d29f..7d66183 100644
--- a/arm.c
+++ b/arm.c
@@ -1708,12 +1708,6 @@ arm_init_machspec(void)
struct machine_specific *ms = machdep->machspec;
ulong phys_base;
- if (symbol_exists("__exception_text_start") &&
- symbol_exists("__exception_text_end")) {
- ms->exception_text_start = symbol_value("__exception_text_start");
- ms->exception_text_end = symbol_value("__exception_text_end");
- }
-
if (symbol_exists("_stext") && symbol_exists("_etext")) {
ms->kernel_text_start = symbol_value("_stext");
ms->kernel_text_end = symbol_value("_etext");
diff --git a/defs.h b/defs.h
index efa40b9..b9292b8 100644
--- a/defs.h
+++ b/defs.h
@@ -3225,8 +3225,6 @@ struct machine_specific {
ulong modules_vaddr;
ulong modules_end;
ulong phys_offset;
- ulong __exception_text_start;
- ulong __exception_text_end;
struct arm64_pt_regs *panic_task_regs;
ulong PTE_PROT_NONE;
ulong PTE_FILE;
--
2.17.1