Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Mar 2009 13:29:13 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r189579 - head/sys/dev/exca
Message-ID:  <200903091329.n29DTDWj027692@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: imp
Date: Mon Mar  9 13:29:13 2009
New Revision: 189579
URL: http://svn.freebsd.org/changeset/base/189579

Log:
  __LP64__ is what's defined, not _LP64_, according to the manual (and
  also experience).

Modified:
  head/sys/dev/exca/exca.c

Modified: head/sys/dev/exca/exca.c
==============================================================================
--- head/sys/dev/exca/exca.c	Mon Mar  9 13:27:33 2009	(r189578)
+++ head/sys/dev/exca/exca.c	Mon Mar  9 13:29:13 2009	(r189579)
@@ -257,7 +257,7 @@ exca_mem_map(struct exca_softc *sc, int 
 	if (win >= EXCA_MEM_WINS)
 		return (ENOSPC);
 	if (sc->flags & EXCA_HAS_MEMREG_WIN) {
-#ifdef _LP64
+#ifdef __LP64__
 		if (rman_get_start(res) >> (EXCA_MEMREG_WIN_SHIFT + 8) != 0) {
 			device_printf(sc->dev,
 			    "Does not support mapping above 4GB.");



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