Modified file for 3.16 kernel support