added support for kernel 3.10.x (with older kernel coexistence)