Patch from Thomas Dreibholtz for compatibility with kernel 3.10