Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Aug 2004 23:07:25 -0500 (CDT)
From:      "Conrad J. Sabatier" <conrads@cox.net>
To:        "Conrad J. Sabatier" <conrads@cox.net>
Cc:        freebsd-amd64@freebsd.org
Subject:   Re: mem.c: mem_range_softc undefined reference
Message-ID:  <XFMail.20040805230725.conrads@cox.net>
In-Reply-To: <XFMail.20040805225803.conrads@cox.net>

next in thread | previous in thread | raw e-mail | index | archive | help

On 06-Aug-2004 Conrad J. Sabatier wrote:
> Well, until the patch gets officially committed to fix UP builds on
> amd64, you may want to try the following.  I just emulated the recent
> commit to machdep.c for i386.  The kernel now links OK.
> 
> I don't know what's holding up committing such a simple fix.
> 
> dolphin:root:/usr/src/sys/amd64/amd64# cvs diff machdep.c
> Index: machdep.c
> ===================================================================
> RCS file: /home/ncvs/src/sys/amd64/amd64/machdep.c,v
> retrieving revision 1.615
> diff -r1.615 machdep.c
> 67a68
>> #include <sys/memrange.h>
> 166a168,169
>> struct mem_range_softc mem_range_softc;
>>

Oh, and for completeness' sake, you'll want to remove the line
"struct mem_range_softc mem_range_softc;" from mp_machdep.c, also.  :-)

-- 
Conrad J. Sabatier <conrads@cox.net> -- "In Unix veritas"



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