mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-08 01:20:40 +00:00
Properly hide a variable under #ifdef as it is only used inside the
specific #ifdef block otherwise leaving an unused variable and breaking other kernel builds.
This commit is contained in:
parent
b6fdce7ea7
commit
66fe94642d
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=278452
|
@ -124,9 +124,9 @@ chrp_probe(platform_t plat)
|
|||
static int
|
||||
chrp_attach(platform_t plat)
|
||||
{
|
||||
#ifdef __powerpc64__
|
||||
int i;
|
||||
|
||||
#ifdef __powerpc64__
|
||||
/* XXX: check for /rtas/ibm,hypertas-functions? */
|
||||
if (!(mfmsr() & PSL_HV)) {
|
||||
struct mem_region *phys, *avail;
|
||||
|
|
Loading…
Reference in a new issue