Detect total RAM on OpenBSD, NetBSD.
ClosedPublic

Authored by coypu on Feb 17 2016, 4:52 PM.

Details

Summary

NetBSD retains signed 32bit int type for HW_PHYSMEM, so it needs to
use HW_PHYSMEM64, not defined for the others.

Diff Detail

Repository
R37 Krita
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
coypu updated this revision to Diff 2335.Feb 17 2016, 4:52 PM
coypu retitled this revision from to Detect total RAM on OpenBSD, NetBSD..
coypu updated this object.
coypu edited the test plan for this revision. (Show Details)
coypu added a reviewer: Krita.
dkazakov accepted this revision.Feb 17 2016, 6:12 PM
dkazakov added a reviewer: dkazakov.
dkazakov added a subscriber: dkazakov.

Hi, Maya!

Thank you very much for the patch! It looks perfectly fine to commit it to master.

Do you have KDE commit rights or I should push it for you?

This revision is now accepted and ready to land.Feb 17 2016, 6:13 PM
coypu added a comment.Feb 17 2016, 6:15 PM

I don't think I have commit rights.
Thanks for the quick response!

This revision was automatically updated to reflect the committed changes.