require '_h2ph_pre.ph';

require 'linux/config.ph';
if(defined(&CONFIG_MAGIC_SYSRQ)) {
} else {
    eval 'sub register_sysrq_key {
        local($a,$b) = @_;
	    eval q( &do {}  &while(0));
    }' unless defined(&register_sysrq_key);
    eval 'sub unregister_sysrq_key {
        local($a,$b) = @_;
	    eval q( &do {}  &while(0));
    }' unless defined(&unregister_sysrq_key);
}
unless(defined(&EMERG_SYNC)) {
    sub EMERG_SYNC () {	1;}
}
unless(defined(&EMERG_REMOUNT)) {
    sub EMERG_REMOUNT () {	2;}
}
if(defined(&CONFIG_MAGIC_SYSRQ)) {
    eval 'sub CHECK_EMERGENCY_SYNC () { &if  &do_emergency_sync();;}' unless defined(&CHECK_EMERGENCY_SYNC);
} else {
    eval 'sub CHECK_EMERGENCY_SYNC () {1;}' unless defined(&CHECK_EMERGENCY_SYNC);
}
1;
