dp kernel ifdef fix