Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/include/linux/compiler-gcc5.h b/include/linux/compiler-gcc5.h
- index efee493..abb03b8 100644
- --- a/include/linux/compiler-gcc5.h
- +++ b/include/linux/compiler-gcc5.h
- @@ -12,10 +12,6 @@
- like BUG(), printk(), panic() etc. [but let's keep them for now for
- older compilers]
- - Early snapshots of gcc 4.3 don't support this and we can't detect this
- - in the preprocessor, but we can live with this because they're unreleased.
- - Maketime probing would be overkill here.
- -
- gcc also has a __attribute__((__hot__)) to move hot functions into
- a special section, but I don't see any sense in this right now in
- the kernel context */
- @@ -32,10 +28,6 @@
- * Mark a position in code as unreachable. This can be used to
- * suppress control flow warnings after asm blocks that transfer
- * control elsewhere.
- - *
- - * Early snapshots of gcc 4.5 don't support this and we can't detect
- - * this in the preprocessor, but we can live with this because they're
- - * unreleased. Really, we need to have autoconf for the kernel.
- */
- #define unreachable() __builtin_unreachable()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement