diff options
author | jchandra <jchandra@FreeBSD.org> | 2011-12-05 03:10:01 +0000 |
---|---|---|
committer | jchandra <jchandra@FreeBSD.org> | 2011-12-05 03:10:01 +0000 |
commit | 48601210911c92fb303621c2e4c813412080040c (patch) | |
tree | d68ba626bd443caf94b0a7532f847b7b5ada2b3d /sys/mips/nlm | |
parent | e62862753dbd6aaae5d1aab79b2e87fc2e3c4cb6 (diff) | |
download | FreeBSD-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/nlm')
-rw-r--r-- | sys/mips/nlm/xlp_machdep.c | 2 |
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 |