port to linux 3.4 (other versions of that age might work too)