Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/i2c-2.6
[linux-2.6] / include / asm-v850 / asm.h
1 /*
2  * include/asm-v850/asm.h -- Macros for writing assembly code
3  *
4  *  Copyright (C) 2001,02,03  NEC Electronics Corporation
5  *  Copyright (C) 2001,02,03  Miles Bader <miles@gnu.org>
6  *
7  * This file is subject to the terms and conditions of the GNU General
8  * Public License.  See the file COPYING in the main directory of this
9  * archive for more details.
10  *
11  * Written by Miles Bader <miles@gnu.org>
12  */
13
14 #define G_ENTRY(name)                                                         \
15    .balign 4;                                                                 \
16    .globl name;                                                               \
17    .type  name,@function;                                                     \
18    name
19 #define G_DATA(name)                                                          \
20    .globl name;                                                               \
21    .type  name,@object;                                                       \
22    name
23 #define END(name)                                                             \
24    .size  name,.-name
25
26 #define L_ENTRY(name)                                                         \
27    .balign 4;                                                                 \
28    .type  name,@function;                                                     \
29    name
30 #define L_DATA(name)                                                          \
31    .type  name,@object;                                                       \
32    name