Fix build errors from linux patches

Signed-off-by: MassStash <MassStash@gmail.com>
Revert "Linux 3.4.12"

This reverts commit 353a090e950a73f87e3b0741d95cbe8b54e83ef9.