Initial commit of porting changes for kernel 3.8.29