reproduce (this is a W=1 build): # https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git/commit/?id=db8666152df8b016530452714b0ad8c7f1b37f3c git remote add rafael-pm https://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm.git git fetch --no-tags rafael-pm bleeding-edge git checkout db8666152df8b016530452714b0ad8c7f1b37f3c # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=i386 olddefconfig make W=1 O=build_dir ARCH=i386 SHELL=/bin/bash drivers/thermal/