adding 32 bit compatibility layer in custom kernel module