131b65faaSBjoern A. Zeeb /*- 231b65faaSBjoern A. Zeeb * Copyright (c) 2017 Mellanox Technologies, Ltd. 331b65faaSBjoern A. Zeeb * All rights reserved. 431b65faaSBjoern A. Zeeb * 531b65faaSBjoern A. Zeeb * Redistribution and use in source and binary forms, with or without 631b65faaSBjoern A. Zeeb * modification, are permitted provided that the following conditions 731b65faaSBjoern A. Zeeb * are met: 831b65faaSBjoern A. Zeeb * 1. Redistributions of source code must retain the above copyright 931b65faaSBjoern A. Zeeb * notice unmodified, this list of conditions, and the following 1031b65faaSBjoern A. Zeeb * disclaimer. 1131b65faaSBjoern A. Zeeb * 2. Redistributions in binary form must reproduce the above copyright 1231b65faaSBjoern A. Zeeb * notice, this list of conditions and the following disclaimer in the 1331b65faaSBjoern A. Zeeb * documentation and/or other materials provided with the distribution. 1431b65faaSBjoern A. Zeeb * 1531b65faaSBjoern A. Zeeb * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR 1631b65faaSBjoern A. Zeeb * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES 1731b65faaSBjoern A. Zeeb * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. 1831b65faaSBjoern A. Zeeb * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, 1931b65faaSBjoern A. Zeeb * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 2031b65faaSBjoern A. Zeeb * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 2131b65faaSBjoern A. Zeeb * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 2231b65faaSBjoern A. Zeeb * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 2331b65faaSBjoern A. Zeeb * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF 2431b65faaSBjoern A. Zeeb * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 2531b65faaSBjoern A. Zeeb * 2631b65faaSBjoern A. Zeeb * $FreeBSD$ 2731b65faaSBjoern A. Zeeb */ 2831b65faaSBjoern A. Zeeb 29*2d0694b9SVladimir Kondratyev #ifndef _LINUXKPI_LINUX_STRINGIFY_H_ 30*2d0694b9SVladimir Kondratyev #define _LINUXKPI_LINUX_STRINGIFY_H_ 3131b65faaSBjoern A. Zeeb 3231b65faaSBjoern A. Zeeb #include <sys/cdefs.h> 3331b65faaSBjoern A. Zeeb 3431b65faaSBjoern A. Zeeb #define ___stringify(...) #__VA_ARGS__ 3531b65faaSBjoern A. Zeeb #define __stringify(...) ___stringify(__VA_ARGS__) 3631b65faaSBjoern A. Zeeb 37*2d0694b9SVladimir Kondratyev #endif /* _LINUXKPI_LINUX_STRINGIFY_H_ */ 38