Fix fat-fingering: #if AIM should have been #ifdef AIM to avoid failures on

Book-E kernels.

Approved by:	re (gjb)
Pointy hat to:	nwhitehorn
This commit is contained in:
nwhitehorn 2016-06-29 16:34:56 +00:00
parent 74554ccb4a
commit 032d51d92b

View File

@ -251,7 +251,7 @@ powerpc_init(vm_offset_t fdt, vm_offset_t toc, vm_offset_t ofentry, void *mdp)
if (mdp == (void *)0x65504150)
mdp = NULL;
#if AIM
#ifdef AIM
/*
* If running from an FDT, make sure we are in real mode to avoid
* tromping on firmware page tables. Everything in the kernel assumes