__LP64__ is what's defined, not _LP64_, according to the manual (and
also experience).
This commit is contained in:
parent
cd6d5177a7
commit
d3ec8e547e
@ -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.");
|
||||
|
Loading…
Reference in New Issue
Block a user