add linux 3.10 support

Just some simple and straightforward stuffs.