Page MenuHomeFreeBSD

[PowerPC] Fix powerpc 32 bit build in mmu_oea64.c
ClosedPublic

Authored by bdragon on Dec 12 2019, 3:55 PM.
Referenced Files
Unknown Object (File)
Tue, Aug 18, 4:41 AM
Unknown Object (File)
Tue, Aug 11, 8:14 AM
Unknown Object (File)
Mon, Aug 10, 2:23 PM
Unknown Object (File)
Mon, Aug 10, 1:54 PM
Unknown Object (File)
Sat, Aug 8, 6:56 PM
Unknown Object (File)
Thu, Aug 6, 9:25 PM
Unknown Object (File)
Wed, Aug 5, 8:45 AM
Unknown Object (File)
Wed, Aug 5, 3:31 AM
Subscribers

Details

Summary

Due to ppc32 building mmu_oea64.c (for use when in bridge mode on a G5), we need to guard the new moea64_page_array_startup code behind #ifdef powerpc64 to avoid a compile error, since vm_offset_t is not 64-bit on ppc32.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

sys/powerpc/aim/mmu_oea64.c
3056 ↗(On Diff #65548)

This should be moved up around moea64_map_range(), since that's only used by this function.

Sorry for the breakage.

This revision is now accepted and ready to land.Dec 12 2019, 4:44 PM
This revision was automatically updated to reflect the committed changes.