diff options
Diffstat (limited to 'os')
-rw-r--r-- | os/hal/platforms/AT91SAM7/serial_lld.c | 2 | ||||
-rw-r--r-- | os/hal/platforms/LPC214x/serial_lld.c | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/os/hal/platforms/AT91SAM7/serial_lld.c b/os/hal/platforms/AT91SAM7/serial_lld.c index 47de0a0e6..df57e5ed4 100644 --- a/os/hal/platforms/AT91SAM7/serial_lld.c +++ b/os/hal/platforms/AT91SAM7/serial_lld.c @@ -151,7 +151,7 @@ static void set_error(SerialDriver *sdp, AT91_REG csr) { chSysUnlockFromIsr();
}
-#if defined(__GNU__)
+#if defined(__GNUC__)
__attribute__((noinline))
#endif
#if !USE_SAM7_DBGU_UART
diff --git a/os/hal/platforms/LPC214x/serial_lld.c b/os/hal/platforms/LPC214x/serial_lld.c index a1db8c537..cec8f5c7a 100644 --- a/os/hal/platforms/LPC214x/serial_lld.c +++ b/os/hal/platforms/LPC214x/serial_lld.c @@ -120,7 +120,7 @@ static void set_error(SerialDriver *sdp, IOREG32 err) { chSysUnlockFromIsr();
}
-#if defined(__GNU__)
+#if defined(__GNUC__)
__attribute__((noinline))
#endif
/**
@@ -128,7 +128,6 @@ __attribute__((noinline)) * @note Tries hard to clear all the pending interrupt sources, we dont want
* to go through the whole ISR and have another interrupt soon after.
*
- * @param[in] u pointer to an UART I/O block
* @param[in] sdp communication channel associated to the UART
*/
static void serve_interrupt(SerialDriver *sdp) {
|