Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Jan 2021 14:29:40 GMT
From:      Mateusz Guzik <mjg@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: eb61de5b7871 - main - powerpc: fix build without DDB
Message-ID:  <202101221429.10METefB050617@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by mjg:

URL: https://cgit.FreeBSD.org/src/commit/?id=eb61de5b7871e2ee2122b31418d1cd50ae43964e

commit eb61de5b7871e2ee2122b31418d1cd50ae43964e
Author:     Mateusz Guzik <mjg@FreeBSD.org>
AuthorDate: 2021-01-22 14:29:01 +0000
Commit:     Mateusz Guzik <mjg@FreeBSD.org>
CommitDate: 2021-01-22 14:29:01 +0000

    powerpc: fix build without DDB
---
 sys/powerpc/powerpc/machdep.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202101221429.10METefB050617>