Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Dec 2011 03:10:01 +0000 (UTC)
From:      "Jayachandran C." <jchandra@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r228272 - head/sys/mips/nlm
Message-ID:  <201112050310.pB53A2bt014543@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201112050310.pB53A2bt014543>