1 /* cprefix.h: This file is included by assembly source which needs 2 * to know what the c-label prefixes are. The newer versions 3 * of cpp that come with gcc predefine such things to help 4 * us out. The reason this stuff is needed is to make 5 * solaris compiles of the kernel work. 6 * 7 * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu) 8 */ 9 #ifndef __SPARC_CPREFIX_H 10 #define __SPARC_CPREFIX_H 11 12 #ifndef __svr4__ 13 #define C_LABEL_PREFIX _ 14 #else 15 #define C_LABEL_PREFIX 16 #endif 17 18 #define CONCAT(a, b) CONCAT2(a, b) 19 #define CONCAT2(a, b) a##b 20 21 #define C_LABEL(name) CONCAT(C_LABEL_PREFIX, name) 22 23 #endif /* !(__SPARC_CPREFIX_H) */