summaryrefslogtreecommitdiffstats
path: root/sys/mips
diff options
context:
space:
mode:
authorjchandra <jchandra@FreeBSD.org>2011-12-05 03:10:01 +0000
committerjchandra <jchandra@FreeBSD.org>2011-12-05 03:10:01 +0000
commit48601210911c92fb303621c2e4c813412080040c (patch)
treed68ba626bd443caf94b0a7532f847b7b5ada2b3d /sys/mips
parente62862753dbd6aaae5d1aab79b2e87fc2e3c4cb6 (diff)
downloadFreeBSD-src-48601210911c92fb303621c2e4c813412080040c.zip
FreeBSD-src-48601210911c92fb303621c2e4c813412080040c.tar.gz
Fix N32 compilation again for XLP.
Disable DDB/KDB related options for N32, and add back a cast that was lost during the last set of updates. Reported by: gonzo, bz
Diffstat (limited to 'sys/mips')
-rw-r--r--sys/mips/nlm/xlp_machdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/mips/nlm/xlp_machdep.c b/sys/mips/nlm/xlp_machdep.c
index 0744f5b..5bdb6d9 100644
--- a/sys/mips/nlm/xlp_machdep.c
+++ b/sys/mips/nlm/xlp_machdep.c
@@ -278,7 +278,7 @@ xlp_bootargs_init(__register_t arg)
phandle_t chosen;
ihandle_t mask;
- dtbp = (void *)arg;
+ dtbp = (void *)(intptr_t)arg;
#if defined(FDT_DTB_STATIC)
/*
* In case the device tree blob was not passed as argument try
OpenPOWER on IntegriCloud