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:
Nathan Whitehorn 2016-06-29 16:34:56 +00:00
parent 0081393d79
commit f8204502c2

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