The __stringify() macro in the LinuxKPI should expand any macros

before stringifying.

MFC after:		1 week
Sponsored by:		Mellanox Technologies
This commit is contained in:
Hans Petter Selasky 2017-04-07 12:27:49 +00:00
parent 8c90d33ca8
commit 99e690772a

View File

@ -56,7 +56,8 @@
#define __devexit
#define __exit
#define __rcu
#define __stringify(x) #x
#define ___stringify(...) #__VA_ARGS__
#define __stringify(...) ___stringify(__VA_ARGS__)
#define __attribute_const__ __attribute__((__const__))
#undef __always_inline
#define __always_inline inline