summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sevakis <jethead71@rockbox.org>2012-04-26 15:11:13 -0400
committerMichael Sevakis <jethead71@rockbox.org>2012-04-26 16:04:43 -0400
commit2866063c3cff10814f0e2e6c5263c7ee6d4c7fa1 (patch)
treea31c2259d03749efd64ad1c6a7f9457fc16b3a09
parentc51fe40a7d7cf83dc2625920b7fbfe858f4cb14e (diff)
downloadrockbox-2866063c3cff10814f0e2e6c5263c7ee6d4c7fa1.tar.gz
rockbox-2866063c3cff10814f0e2e6c5263c7ee6d4c7fa1.zip
Add a NO_INLINE attribute to gcc_extensions.
Will want later. Change-Id: Ia1509e17f2346374305146ee98546c72f2f8a1ed
-rw-r--r--firmware/include/gcc_extensions.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/firmware/include/gcc_extensions.h b/firmware/include/gcc_extensions.h
index 390e57d85f..9b34e57b9b 100644
--- a/firmware/include/gcc_extensions.h
+++ b/firmware/include/gcc_extensions.h
@@ -57,6 +57,11 @@
57#define FORCE_INLINE inline 57#define FORCE_INLINE inline
58#endif 58#endif
59 59
60#if defined(__GNUC__)
61#define NO_INLINE __attribute__((noinline))
62#else
63#define NO_INLINE
64#endif
60 65
61/* Version information from http://ohse.de/uwe/articles/gcc-attributes.html */ 66/* Version information from http://ohse.de/uwe/articles/gcc-attributes.html */
62#if defined(__GNUC__) && (__GNUC__ >= 4 || \ 67#if defined(__GNUC__) && (__GNUC__ >= 4 || \