aboutsummaryrefslogtreecommitdiff
path: root/sys/powerpc
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2021-01-22 14:29:01 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2021-01-22 14:29:01 +0000
commiteb61de5b7871e2ee2122b31418d1cd50ae43964e (patch)
treeba58cb9fde408e0831115322de9fe00d49aca60a /sys/powerpc
parentace7209ce04d0e4dc0e84d5e2eb27fc762e67a01 (diff)
downloadsrc-eb61de5b7871e2ee2122b31418d1cd50ae43964e.tar.gz
src-eb61de5b7871e2ee2122b31418d1cd50ae43964e.zip
powerpc: fix build without DDB
Diffstat (limited to 'sys/powerpc')
-rw-r--r--sys/powerpc/powerpc/machdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/powerpc/powerpc/machdep.c b/sys/powerpc/powerpc/machdep.c
index 2bcc0ceed015..716f7e43db48 100644
--- a/sys/powerpc/powerpc/machdep.c
+++ b/sys/powerpc/powerpc/machdep.c
@@ -263,8 +263,8 @@ powerpc_init(vm_offset_t fdt, vm_offset_t toc, vm_offset_t ofentry, void *mdp,
char *env;
void *kmdp = NULL;
bool ofw_bootargs = false;
- bool symbols_provided = false;
#ifdef DDB
+ bool symbols_provided = false;
vm_offset_t ksym_start;
vm_offset_t ksym_end;
vm_offset_t ksym_sz;