serial: uart_hostlink: Use __noinline macro
Use Zephy's toolchain definition instead of re-define here. Signed-off-by: Flavio Ceolin <flavio.ceolin@gmail.com>
This commit is contained in:
parent
ee050e27a6
commit
11aeddbbfa
1 changed files with 1 additions and 4 deletions
|
@ -6,6 +6,7 @@
|
|||
|
||||
#include <zephyr/drivers/uart.h>
|
||||
#include <zephyr/kernel.h>
|
||||
#include <zephyr/toolchain.h>
|
||||
#include <string.h>
|
||||
|
||||
#define DT_DRV_COMPAT snps_hostlink_uart
|
||||
|
@ -35,10 +36,6 @@ BUILD_ASSERT(IS_ENABLED(CONFIG_ARC));
|
|||
#define HL_SYSCALL_GETCWD 17
|
||||
#define HL_SYSCALL_USER 18
|
||||
|
||||
#ifndef __noinline
|
||||
#define __noinline __attribute__((noinline))
|
||||
#endif /* __noinline */
|
||||
|
||||
#define HL_VERSION 1
|
||||
|
||||
/* "No message here" mark. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue