2015-04-28 01:40:11 +08:00
|
|
|
/* Inline assembler kernel functions and macros */
|
2015-04-11 07:44:37 +08:00
|
|
|
|
|
|
|
/*
|
2015-04-28 01:40:11 +08:00
|
|
|
* Copyright (c) 2015, Wind River Systems, Inc.
|
2015-04-11 07:44:37 +08:00
|
|
|
*
|
2017-01-19 09:01:01 +08:00
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
2015-04-11 07:44:37 +08:00
|
|
|
*/
|
|
|
|
|
2015-04-28 01:40:11 +08:00
|
|
|
#ifndef _ASM_INLINE_H
|
|
|
|
#define _ASM_INLINE_H
|
2015-04-11 07:44:37 +08:00
|
|
|
|
2015-10-09 18:20:52 +08:00
|
|
|
#if !defined(CONFIG_X86)
|
2015-04-28 01:40:11 +08:00
|
|
|
#error The arch/x86/include/asm_inline.h is only for x86 architecture
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(__GNUC__)
|
|
|
|
#include <asm_inline_gcc.h>
|
|
|
|
#else
|
|
|
|
#include <asm_inline_other.h>
|
|
|
|
#endif /* __GNUC__ */
|
|
|
|
|
|
|
|
#endif /* _ASM_INLINE_H */
|