fix for toolchain GCC 4.7 Google
fix for toolchain GCC 4.6
tianchi : Add last_kmsg
* Thanks to @Kali and @DoomLoRD