aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/exca
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2009-03-09 13:29:13 +0000
committerWarner Losh <imp@FreeBSD.org>2009-03-09 13:29:13 +0000
commitd3ec8e547e771362355cd734d968f9b9a40e3e79 (patch)
treefc5c08438a5c45ef809a69692b4c61fa29b7dcc3 /sys/dev/exca
parentcd6d5177a79a345d8e16178465946c72b2f14de4 (diff)
Notes
Diffstat (limited to 'sys/dev/exca')
-rw-r--r--sys/dev/exca/exca.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/exca/exca.c b/sys/dev/exca/exca.c
index f90a3e79d976..ed39ddc3d7f0 100644
--- a/sys/dev/exca/exca.c
+++ b/sys/dev/exca/exca.c
@@ -257,7 +257,7 @@ exca_mem_map(struct exca_softc *sc, int kind, struct resource *res)
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.");