Make the previous commit kernel version dependent