143b4c006SBjoern A. Zeeb /*- 243b4c006SBjoern A. Zeeb * Copyright (c) 2017 Mellanox Technologies, Ltd. 343b4c006SBjoern A. Zeeb * All rights reserved. 443b4c006SBjoern A. Zeeb * 543b4c006SBjoern A. Zeeb * Redistribution and use in source and binary forms, with or without 643b4c006SBjoern A. Zeeb * modification, are permitted provided that the following conditions 743b4c006SBjoern A. Zeeb * are met: 843b4c006SBjoern A. Zeeb * 1. Redistributions of source code must retain the above copyright 943b4c006SBjoern A. Zeeb * notice unmodified, this list of conditions, and the following 1043b4c006SBjoern A. Zeeb * disclaimer. 1143b4c006SBjoern A. Zeeb * 2. Redistributions in binary form must reproduce the above copyright 1243b4c006SBjoern A. Zeeb * notice, this list of conditions and the following disclaimer in the 1343b4c006SBjoern A. Zeeb * documentation and/or other materials provided with the distribution. 1443b4c006SBjoern A. Zeeb * 1543b4c006SBjoern A. Zeeb * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 1643b4c006SBjoern A. Zeeb * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 1743b4c006SBjoern A. Zeeb * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 1843b4c006SBjoern A. Zeeb * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 1943b4c006SBjoern A. Zeeb * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 2043b4c006SBjoern A. Zeeb * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 2143b4c006SBjoern A. Zeeb * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 2243b4c006SBjoern A. Zeeb * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 2343b4c006SBjoern A. Zeeb * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 2443b4c006SBjoern A. Zeeb * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2543b4c006SBjoern A. Zeeb */ 2643b4c006SBjoern A. Zeeb 27*307f78f3SVladimir Kondratyev #ifndef _LINUXKPI_LINUX_STRINGIFY_H_ 28*307f78f3SVladimir Kondratyev #define _LINUXKPI_LINUX_STRINGIFY_H_ 2943b4c006SBjoern A. Zeeb 3043b4c006SBjoern A. Zeeb #include <sys/cdefs.h> 3143b4c006SBjoern A. Zeeb 3243b4c006SBjoern A. Zeeb #define ___stringify(...) #__VA_ARGS__ 3343b4c006SBjoern A. Zeeb #define __stringify(...) ___stringify(__VA_ARGS__) 3443b4c006SBjoern A. Zeeb 35*307f78f3SVladimir Kondratyev #endif /* _LINUXKPI_LINUX_STRINGIFY_H_ */ 36