Revert "Kernel compiling fix [1/2]"

This reverts commit 02afe93a2deaa6cc7a079909d6fdeddce15fd22c.

Change-Id: Icf4dd31e9eb07f4c1a6fb52f94a039dfa71b66c6