From b33fc8298f7e13226b9895abc57c9bfce5e3fa2d Mon Sep 17 00:00:00 2001 From: Kent Overstreet Date: Sun, 8 Jan 2017 00:13:18 -0900 Subject: bcache in userspace; userspace fsck --- include/linux/stringify.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 include/linux/stringify.h (limited to 'include/linux/stringify.h') diff --git a/include/linux/stringify.h b/include/linux/stringify.h new file mode 100644 index 00000000..841cec8e --- /dev/null +++ b/include/linux/stringify.h @@ -0,0 +1,12 @@ +#ifndef __LINUX_STRINGIFY_H +#define __LINUX_STRINGIFY_H + +/* Indirect stringification. Doing two levels allows the parameter to be a + * macro itself. For example, compile with -DFOO=bar, __stringify(FOO) + * converts to "bar". + */ + +#define __stringify_1(x...) #x +#define __stringify(x...) __stringify_1(x) + +#endif /* !__LINUX_STRINGIFY_H */ -- cgit v1.2.3