MOXA linux-2.6.x / linux-2.6.19-uc1 from UC-7110-LX-BOOTLOADER-1.9_VERSION-4.2.tgz
[linux-2.6.19-moxart.git] / include / asm-nios2nommu / cprefix.h
blob4983211459dcfe9e073b975b69b5bd5c1cbfd08c
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.
7 * Copyright (C) 2004 Microtronix Datacom Ltd.
8 * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
10 * All rights reserved.
12 * This program is free software; you can redistribute it and/or modify
13 * it under the terms of the GNU General Public License as published by
14 * the Free Software Foundation; either version 2 of the License, or
15 * (at your option) any later version.
17 * This program is distributed in the hope that it will be useful, but
18 * WITHOUT ANY WARRANTY; without even the implied warranty of
19 * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
20 * NON INFRINGEMENT. See the GNU General Public License for more
21 * details.
23 * You should have received a copy of the GNU General Public License
24 * along with this program; if not, write to the Free Software
25 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
28 #ifndef __NIOS2_CPREFIX_H
29 #define __NIOS2_CPREFIX_H
31 #define C_LABEL_PREFIX
33 #define CONCAT(a, b) CONCAT2(a, b)
34 #define CONCAT2(a, b) a##b
36 #define C_LABEL(name) CONCAT(C_LABEL_PREFIX, name)
38 #endif /* !(__NIOS2_CPREFIX_H) */