HomeFreeBSD

powerpc/booke: Use #ifdef __powerpc64__ instead of hw_direct_map in places

Description

powerpc/booke: Use #ifdef powerpc64 instead of hw_direct_map in places

Since the DMAP is only available on powerpc64, and is *always* available on
Book-E powerpc64, don't penalize either side (32-bit or 64-bit) by always
checking hw_direct_map to perform operations. This saves 5-10% time on
various ports builds, and on buildworld+buildkernel on Book-E hardware.

MFC after: 3 weeks

Details

Provenance
jhibbitsAuthored on
Parents
rS347166: MFC r337737:
Branches
Unknown
Tags
Unknown