support for linux 3.12

Signed-off-by: Steven Armstrong <steven.armstrong@inf.ethz.ch>