aboutsummaryrefslogtreecommitdiff
path: root/sys/powerpc/aim/locore32.S
diff options
context:
space:
mode:
authorJustin Hibbits <jhibbits@FreeBSD.org>2018-11-28 16:00:52 +0000
committerJustin Hibbits <jhibbits@FreeBSD.org>2018-11-28 16:00:52 +0000
commit8f69e36d87c720d1f5c52a5751a23388d3219da5 (patch)
tree90d5e717501b49844fd191dc8accdddb9f1032bb /sys/powerpc/aim/locore32.S
parent43cf589ceda6f1de35df03ce1b3f180a548ee2dc (diff)
downloadsrc-8f69e36d87c720d1f5c52a5751a23388d3219da5.tar.gz
src-8f69e36d87c720d1f5c52a5751a23388d3219da5.zip
powerpc: Don't include KERNBASE in genassym, it's unnecessary
A related future change, which changes KERNBASE for Book-E for some reason causes a "KERNBASE redefined" error with assym.inc, even though it only changed the value of KERNBASE and nothing else. Since machine/vmparam.h is already included in booke/locore.S, and the requisite guards are already in place for properly handling KERNBASE in vmparam.h, just remove it from genassym, and include vmparam.h in the AIM locore files.
Notes
Notes: svn path=/head/; revision=341148
Diffstat (limited to 'sys/powerpc/aim/locore32.S')
-rw-r--r--sys/powerpc/aim/locore32.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/powerpc/aim/locore32.S b/sys/powerpc/aim/locore32.S
index 75089ff518ef..56033fcbaa44 100644
--- a/sys/powerpc/aim/locore32.S
+++ b/sys/powerpc/aim/locore32.S
@@ -33,6 +33,7 @@
#include <machine/param.h>
#include <machine/spr.h>
#include <machine/asm.h>
+#include <machine/vmparam.h>
#include "opt_platform.h"
/* Locate the per-CPU data structure */