Author: jchandra
Date: Mon Dec  5 03:10:01 2011
New Revision: 228272
URL: http://svn.freebsd.org/changeset/base/228272

Log:
  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

Modified:
  head/sys/mips/nlm/xlp_machdep.c

Modified: head/sys/mips/nlm/xlp_machdep.c
==============================================================================
--- head/sys/mips/nlm/xlp_machdep.c     Mon Dec  5 02:56:08 2011        
(r228271)
+++ head/sys/mips/nlm/xlp_machdep.c     Mon Dec  5 03:10:01 2011        
(r228272)
@@ -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
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to