require '_h2ph_pre.ph';

no warnings qw(redefine misc);

unless(defined(&_UVM_UVM_KM_H_)) {
    eval 'sub _UVM_UVM_KM_H_ () {1;}' unless defined(&_UVM_UVM_KM_H_);
    if(defined(&_KERNEL)) {
	if(!defined(&__HAVE_PMAP_DIRECT)) {
	    eval 'sub UVM_KM_PAGES_LOWAT_MAX () {(2048);}' unless defined(&UVM_KM_PAGES_LOWAT_MAX);
	    eval 'sub UVM_KM_PAGES_HIWAT_MAX () {(4*  &UVM_KM_PAGES_LOWAT_MAX);}' unless defined(&UVM_KM_PAGES_HIWAT_MAX);
	}
    }
}
1;
