Advertisement
Guest User

Untitled

a guest
May 27th, 2015
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. diff --git a/include/linux/compiler-gcc5.h b/include/linux/compiler-gcc5.h
  2. index efee493..abb03b8 100644
  3. --- a/include/linux/compiler-gcc5.h
  4. +++ b/include/linux/compiler-gcc5.h
  5. @@ -12,10 +12,6 @@
  6. like BUG(), printk(), panic() etc. [but let's keep them for now for
  7. older compilers]
  8.  
  9. - Early snapshots of gcc 4.3 don't support this and we can't detect this
  10. - in the preprocessor, but we can live with this because they're unreleased.
  11. - Maketime probing would be overkill here.
  12. -
  13. gcc also has a __attribute__((__hot__)) to move hot functions into
  14. a special section, but I don't see any sense in this right now in
  15. the kernel context */
  16. @@ -32,10 +28,6 @@
  17. * Mark a position in code as unreachable. This can be used to
  18. * suppress control flow warnings after asm blocks that transfer
  19. * control elsewhere.
  20. - *
  21. - * Early snapshots of gcc 4.5 don't support this and we can't detect
  22. - * this in the preprocessor, but we can live with this because they're
  23. - * unreleased. Really, we need to have autoconf for the kernel.
  24. */
  25. #define unreachable() __builtin_unreachable()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement