From 032d51d92b7ecf75ca1d3090f765aa4c2b801027 Mon Sep 17 00:00:00 2001 From: nwhitehorn Date: Wed, 29 Jun 2016 16:34:56 +0000 Subject: [PATCH] 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 --- 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 c6960cc38d81..37e05b55a68c 100644 --- a/sys/powerpc/powerpc/machdep.c +++ b/sys/powerpc/powerpc/machdep.c @@ -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