xref: /kernel/linux/linux-6.6/arch/powerpc/include/asm/asm-const.h (revision 62306a36)
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/arch/powerpc/include/asm/
162306a36Sopenharmony_ci#ifndef _ASM_POWERPC_ASM_CONST_H
262306a36Sopenharmony_ci#define _ASM_POWERPC_ASM_CONST_H
362306a36Sopenharmony_ci
462306a36Sopenharmony_ci#ifdef __ASSEMBLY__
562306a36Sopenharmony_ci#  define stringify_in_c(...)	__VA_ARGS__
662306a36Sopenharmony_ci#  define ASM_CONST(x)		x
762306a36Sopenharmony_ci#else
862306a36Sopenharmony_ci/* This version of stringify will deal with commas... */
962306a36Sopenharmony_ci#  define __stringify_in_c(...)	#__VA_ARGS__
1062306a36Sopenharmony_ci#  define stringify_in_c(...)	__stringify_in_c(__VA_ARGS__) " "
1162306a36Sopenharmony_ci#  define __ASM_CONST(x)	x##UL
1262306a36Sopenharmony_ci#  define ASM_CONST(x)		__ASM_CONST(x)
1362306a36Sopenharmony_ci#endif
1462306a36Sopenharmony_ci
1562306a36Sopenharmony_ci#endif /* _ASM_POWERPC_ASM_CONST_H */
16

Indexes created Thu Nov 07 10:32:03 CST 2024