162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */
262306a36Sopenharmony_ci#ifndef _ASM_MICROBLAZE_ASM_COMPAT_H
362306a36Sopenharmony_ci#define _ASM_MICROBLAZE_ASM_COMPAT_H
462306a36Sopenharmony_ci
562306a36Sopenharmony_ci#include <asm/types.h>
662306a36Sopenharmony_ci
762306a36Sopenharmony_ci#ifdef __ASSEMBLY__
862306a36Sopenharmony_ci#  define stringify_in_c(...)	__VA_ARGS__
962306a36Sopenharmony_ci#  define ASM_CONST(x)		x
1062306a36Sopenharmony_ci#else
1162306a36Sopenharmony_ci/* This version of stringify will deal with commas... */
1262306a36Sopenharmony_ci#  define __stringify_in_c(...)	#__VA_ARGS__
1362306a36Sopenharmony_ci#  define stringify_in_c(...)	__stringify_in_c(__VA_ARGS__) " "
1462306a36Sopenharmony_ci#  define __ASM_CONST(x)	x##UL
1562306a36Sopenharmony_ci#  define ASM_CONST(x)		__ASM_CONST(x)
1662306a36Sopenharmony_ci#endif
1762306a36Sopenharmony_ci
1862306a36Sopenharmony_ci#endif /* _ASM_MICROBLAZE_ASM_COMPAT_H */
19