From 392e8802486cb573b916e746010e141a75f507e6 Mon Sep 17 00:00:00 2001 From: Kevin Date: Sat, 15 Nov 2014 09:58:27 +0800 Subject: init android origin source code --- ANDROID_3.4.5/arch/microblaze/include/asm/asm-compat.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 ANDROID_3.4.5/arch/microblaze/include/asm/asm-compat.h (limited to 'ANDROID_3.4.5/arch/microblaze/include/asm/asm-compat.h') diff --git a/ANDROID_3.4.5/arch/microblaze/include/asm/asm-compat.h b/ANDROID_3.4.5/arch/microblaze/include/asm/asm-compat.h new file mode 100644 index 00000000..e7bc9dc1 --- /dev/null +++ b/ANDROID_3.4.5/arch/microblaze/include/asm/asm-compat.h @@ -0,0 +1,17 @@ +#ifndef _ASM_MICROBLAZE_ASM_COMPAT_H +#define _ASM_MICROBLAZE_ASM_COMPAT_H + +#include + +#ifdef __ASSEMBLY__ +# define stringify_in_c(...) __VA_ARGS__ +# define ASM_CONST(x) x +#else +/* This version of stringify will deal with commas... */ +# define __stringify_in_c(...) #__VA_ARGS__ +# define stringify_in_c(...) __stringify_in_c(__VA_ARGS__) " " +# define __ASM_CONST(x) x##UL +# define ASM_CONST(x) __ASM_CONST(x) +#endif + +#endif /* _ASM_MICROBLAZE_ASM_COMPAT_H */ -- cgit