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
@ -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…
x
Reference in New Issue
Block a user