Does this function not exist in earlier kernel versions? If it does, why not simply call that function always? I try to avoid 
#ifs like the plague