aboutsummaryrefslogtreecommitdiff
path: root/sys/arm
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2026-02-25 02:20:59 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2026-02-25 02:20:59 +0000
commit6513c2845f8912c30749cf64704d3dfeeeb9a47a (patch)
tree0fd4bb1264e2a2a4eb4f66aa23fe7bd9919304b6 /sys/arm
parentfba56be09f1c344cc5805b898fbfef6066950942 (diff)
Diffstat (limited to 'sys/arm')
-rw-r--r--sys/arm/arm/machdep.c2
-rw-r--r--sys/arm/arm/machdep_boot.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/sys/arm/arm/machdep.c b/sys/arm/arm/machdep.c
index 60d63cebca3d..1cd016f62e1b 100644
--- a/sys/arm/arm/machdep.c
+++ b/sys/arm/arm/machdep.c
@@ -120,8 +120,6 @@ vm_offset_t vector_page;
/* The address at which the kernel was loaded. Set early in initarm(). */
vm_paddr_t arm_physmem_kernaddr;
-extern int *end;
-
#ifdef FDT
vm_paddr_t pmap_pa;
vm_offset_t systempage;
diff --git a/sys/arm/arm/machdep_boot.c b/sys/arm/arm/machdep_boot.c
index 9bb1f0ccae91..6ad3f9d744b3 100644
--- a/sys/arm/arm/machdep_boot.c
+++ b/sys/arm/arm/machdep_boot.c
@@ -69,7 +69,7 @@
static char static_kenv[4096];
#endif
-extern int *end;
+extern char end[];
static uint32_t board_revision;
/* hex representation of uint64_t */