svn commit: r189579 - head/sys/dev/exca
Warner Losh
imp at FreeBSD.org
Mon Mar 9 06:29:27 PDT 2009
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.");
More information about the svn-src-all
mailing list