Crude implementation of pmd flag change for ARM machines. (Temporary stopped x86 support)